Jump to content
  • 0

1 Eror


[RSD]TheBoss

Question

As vrea sa fak ca la 5 minute sa controleze playerul daca are minigun iar daka are sa ii dea ban

e am fakut asa

forward Minigun()
Undeva prin script am pus asta
stock Minigun()
{
if(GetPlayerWeapon(playerid) <=38)
{
SetTimer("Bans",3000,"",playerid);
}
else
{
}
}
Si am mai adaugat asta undeva
public Bans()
{
Ban(playerid);
}
Si primesc eroare asta
C:\Documents and Settings\Owner\Desktop\Servers of Samp\TDM WAR\filterscripts\Area51.pwn(58) : error 017: undefined symbol "playerid"

Pls Ajutor cum as putea face sa numai primesc eror? :huh:

Am incercat asa dar de fiecare data primesc eror la playerid dc?

Nu stie nimeni  :cry:?

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

stuntman-=!!" post="54709" timestamp="1297608054"]

La OnGameModeInit:

SetTimer("AntiDM",300000,1);
Undeva in script:
forward AntiDM();
public AntiDM()
{
    for(new i;i<MAX_PLAYERS;i++)
    {
        if(GetPlayerWeapon(i) == 38) Ban(i);
    }
}

Ar trebui sa mearga.

ms merge

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.