SA-MP Forums Archive
help me plz (fast); - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help me plz (fast); (/showthread.php?tid=592828)



help me plz (fast); - ahameed4755 - 30.10.2015

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



AW: help me plz (fast); - Mencent - 30.10.2015

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 ' " '.


Re: help me plz (fast); - ahameed4755 - 30.10.2015

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 



AW: help me plz (fast); - Mencent - 30.10.2015

Can you send us more code?


Re: help me plz (fast); - ahameed4755 - 30.10.2015

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;




AW: help me plz (fast); - Mencent - 30.10.2015

How do you define the colors?


Re: help me plz (fast); - ahameed4755 - 30.10.2015

i found it myself ..

Thanks.. REP+