06.01.2014, 15:44
green: #define green "{008000}"
EDIT: I changed it to
#define green 0x9EC73DAA
Now I got no problems with this.
But I still have the other error
test2.pwn(251) : error 017: undefined symbol "GetPName"
And if I use your " format(Query,sizeof(Query),"INSERT INTO `Users` (Username,Password,Argent) VALUES ('%s','%s,'0')",GetPlayerName(playerid),EscapedTex t);"
I got two warnings:
test2.pwn(251) : warning 202: number of arguments does not match definition
test2.pwn(251) : warning 202: number of arguments does not match definition
EDIT: I changed it to
#define green 0x9EC73DAA
Now I got no problems with this.
But I still have the other error
test2.pwn(251) : error 017: undefined symbol "GetPName"
And if I use your " format(Query,sizeof(Query),"INSERT INTO `Users` (Username,Password,Argent) VALUES ('%s','%s,'0')",GetPlayerName(playerid),EscapedTex t);"
I got two warnings:
test2.pwn(251) : warning 202: number of arguments does not match definition
test2.pwn(251) : warning 202: number of arguments does not match definition