[POMOC] 5Errora

Započeo ceLL_, Septembar 23, 2010, 01:12:02 PRE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Evo 5 Errora... Pravio sam dialog za Login/register i evo errori

C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(57) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(59) : error 017: undefined symbol "gPlayerAccount"
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(59) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(59) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(59) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\BlodZ's RolePlay\gamemodes\mod.pwn(59) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase




5 Errors.


Evo kako sam uradio...

public OnPlayerConnect(playerid)
{
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
new loginstring[128];
format(loginstring,sizeof(loginstring),"Dobrodosli! Unesite lozinku kako bi mogli igrati!");
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Login",loginstring,"Prijava","Izlaz");
return 1;
}


â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"

Ak ti je gf edit, onda u skriptu gdje si radio dodaj new string[103]; i na vrh skripte: new gPlayerLogged[MAX_PLAYERS]; i new gPlayerAccount[MAX_PLAYERS]:

Nije GF !! Mod je od 0....  :P
â"Œâˆ©â"(â—•_â—•)â"Œâˆ©â"

Respect to: (à¥"_à¥") - ČιѕÑ,σ яÑ"кяÑ"αÑ,ινησ - (à¥"_à¥") , [Saw]BloodMaster

â"Œâˆ©â"(â—£_â—¢)â"Œâˆ©â"