08.08.2012, 00:55
Hey guys,
I did this tutorial and did it completely how it said to do it but everytime i complie I get these
here is the place where line 103 is.
I did this tutorial and did it completely how it said to do it but everytime i complie I get these
Код:
C:\Users\Michael C\Desktop\Mohave County\gamemodes\MohaveRP.pwn(103) : error 017: undefined symbol "DIALOG_LOGIN" C:\Users\Michael C\Desktop\Mohave County\gamemodes\MohaveRP.pwn(103) : error 017: undefined symbol "COL_WHITE" C:\Users\Michael C\Desktop\Mohave County\gamemodes\MohaveRP.pwn(103) : warning 215: expression has no effect C:\Users\Michael C\Desktop\Mohave County\gamemodes\MohaveRP.pwn(103) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Michael C\Desktop\Mohave County\gamemodes\MohaveRP.pwn(103) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
pawn Код:
public OnPlayerConnect(playerid)
{
if(fexist(UserPath(playerid)))
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
}
else
{
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
}
return 1;
}