[Pomoc] Errori

Započeo VuKaN, Maj 03, 2013, 14:33:38 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:EGv1.0
Problem: Baca mi errore ovde ne znam sta da radim Sta tu treba da se radi?

   new namestring = strfind(plname, "_", true);
    new vukan = strfind(plname, "Vukan", true);
    new kibo = strfind(plname, "Kibo", true);
    new nemanja = strfind(plname, "Nemanja", true);
    new radoje = strfind(plname, "Radoje", true);
   if(namestring == -1 && vukan == -1 && kibo == -1 && nemanja == -1 && radoje == -1)
   {
      SendClientMessage(playerid, COLOR_YELLOW2, "Imigraciono odeljenje: Vase ime nije prihvatljivo.");
      SendClientMessage(playerid, COLOR_YELLOW2, "Napomena: vase ime mora da bude u formatu Ime_Prezime");
      Kick(playerid);
      return 1;
   }
Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!

daj errore koje ti prikazuje, inace nebi trebalo da ti prikazuje bas tu..

Evo errori

C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(38534) : error 017: undefined symbol "plname"
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(38535) : error 017: undefined symbol "plname"
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(38536) : error 017: undefined symbol "plname"
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(38537) : error 017: undefined symbol "plname"
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(38538) : error 017: undefined symbol "plname"
Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!

A kada definisem pl name
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(5806) : error 001: expected token: "-identifier-", but found "["
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(5810) : error 029: invalid expression, assumed zero
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(5810) : error 035: argument type mismatch (argument 2)
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(5810) : error 020: invalid symbol name ""
C:\Users\Master\Desktop\MOD ZA GP\gamemodes\EuroGamingV1.0.pwn(5810) : fatal error 107: too many error messages on one line
Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!

daj te linije 5806 i 5810

"They have computers, and they may have other weapons of mass destruction."

Evo ti od 5805-5833
    new string[100];
    new plname[MAX_PLAYER_NAME];
    new playersip[64];
    new zone[MAX_ZONE_NAME];
    GetPlayer2DZone(playerid, zone, MAX_ZONE_NAME);
    GetPlayerName(playerid, plname, sizeof(plname));
    GetPlayerIp(playerid,playersip,sizeof(playersip));
    new namestring = strfind(plname, "_", true);
    format(string, sizeof(string),"%s",playersip);
    gPlayerUsingLoopingAnim[playerid] = 0;
gPlayerAnimLibsPreloaded[playerid] = 0;
if(AntiName == 1)
{
if(namestring == -1)
{
    format(string, sizeof(string),"%s, je kikan od Anticheat-a Balkan Lesson RolePlay zbog nepravilnog imena",plname);
SendAdminGmMessage(COLOR_NICERED, string);
SendClientMessage(playerid, COLOR_YELLOW2, "Obavijest: Vase ime nije prihvatljivo.");
SendClientMessage(playerid, COLOR_YELLOW2, "Savjet: Vase ime mora biti u formatu:Ime_Prezime.");
new y, m, d;
new h,mi,s;
getdate(y,m,d);
gettime(h,mi,s);
format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] Balkan Lesson RolePlayje kikao %s zbog neispravnog imena",d,m,y,h,mi,s,plname);
KickLog(string);
Kick(playerid);
return 1;
}
}
Srecu cine male stvari i veliko pivo!
x3M-Gaming USKORO!