SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Scripting Help (https://forum.sa-mp.com/forumdisplay.php?f=12)
-   -   Error's (https://forum.sa-mp.com/showthread.php?t=660204)

RedSmokeR 27/10/2018 05:11 PM

Error's
 
Hi Guyz I added Login/Register system.I am getting these errors :
PHP Code:

C:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : warning 215expression has no effect
C
:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : error 001expected token";"but found "-string-"
C:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : warning 215expression has no effect
C
:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : error 001expected token"-string end-"but found "-identifier-"
C:\Users\$corpio\Desktop\Server 2\gamemodes\t_CNR.pwn(315) : fatal error 107too many error messages on one line 

Line 315 is :
PHP Code:

ShowPlayerDialog(playeridDIALOG_LOGINDIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit"); 


SyS 27/10/2018 05:12 PM

Re: Error's
 
How did u define COLOR_WHITE ? Check it

RedSmokeR 27/10/2018 05:14 PM

Re: Error's
 
Quote:

Originally Posted by SyS (Post 4061255)
How did u define COLOR_WHITE ? Check it

#define COLOR_WHITE 0xF6F6F6AA

SyS 27/10/2018 05:16 PM

Re: Error's
 
it should be
pawn Code:
#define COLOR_WHITE   "{FFFFFF}"


All times are GMT. The time now is 04:52 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.