04.07.2012, 16:04
I all,
i would like to know how can i put an define into an send client message
Like
#define db_name mysampsqldb
SendClientMessage(playerid,COLOR_ROUGE,"My db is "db_name".");
I got this
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: "-string end-", but found "-identifier-"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : warning 215: expression has no effect
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: ";", but found "-string-"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : warning 215: expression has no effect
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : fatal error 107: too many error messages on one line
Thank You
Max
i would like to know how can i put an define into an send client message
Like
#define db_name mysampsqldb
SendClientMessage(playerid,COLOR_ROUGE,"My db is "db_name".");
I got this
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: "-string end-", but found "-identifier-"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : warning 215: expression has no effect
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: ";", but found "-string-"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : warning 215: expression has no effect
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\Maxence\Bureau\WESTCO~1\GAMEMO~1\WCRP3 .pwn(2997) : fatal error 107: too many error messages on one line
Thank You
Max