help me plz (fast);
#1

help me plz im getting this error's

Код:
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(37) : error 017: undefined symbol "MAX_PLAYER"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(57) : error 001: expected token: ")", but found "{"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001: expected token: "-string end-", but found "-identifier-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : warning 215: expression has no effect
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001: expected token: ";", but found "-string-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : warning 215: expression has no effect
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001: expected token: "-string end-", but found "-identifier-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : fatal error 107: too many error messages on one line

Код:
if(fexist(GetINI(playerid))
	  { // line 57
		 ShowPlayerDialog(playerid,dialog_login, DIALOG_STYLE_INPUT,""COLOR_ERROR"Please Wait....",""COLOR_WHITE", "Please Type Your Password Below To Login.","login,"Quit"); // line 58
Код:
new gPlayerName[MAX_PLAYER][MAX_PLAYER_NAME]; // line 37
Reply
#2

Hello!

PHP код:
if(fexist(GetINI(playerid))) 
You forgot the 3rd bracket.

PHP код:
new gPlayerName[MAX_PLAYERS][MAX_PLAYER_NAME]; // line 37 
You forgot the "s" of MAX_PLAYERS.

PHP код:
ShowPlayerDialog(playerid,dialog_loginDIALOG_STYLE_INPUT,""COLOR_ERROR"Please Wait....",""COLOR_WHITE"Please Type Your Password Below To Login.","login","Quit"); // line 58 
And this. You was confused with the ' " '.
Reply
#3

dude the line 58 is not working

PHP код:
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001expected token"-string end-"but found "-identifier-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : warning 215expression has no effect
D
:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001expected token";"but found "-string-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : warning 215expression has no effect
D
:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : error 001expected token"-string end-"but found "-identifier-"
D:\gta sa\HEHE!\filterscripts\aadmin.pwn(58) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
Reply
#4

Can you send us more code?
Reply
#5

PHP код:
ShowPlayerDialog(playerid,dialog_loginDIALOG_STYLE_INPUT,""COLOR_ERROR"Please Wait....",""COLOR_WHITE"Please Type Your Password Below To Login.","login","Quit"); // line 58
         
}
         else
         {
         
ShowPlayerDialog(playerid,dialog_registerDIALOG_STYLE_INPUT,""COLOR_WHITE"Registering...",""COLOR_WHITE"Type Your Password Below To Register Your Acoount.","Register","Quit");
     }
     return 
1;

Reply
#6

How do you define the colors?
Reply
#7

i found it myself ..

Thanks.. REP+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)