06.03.2012, 22:12
Thanks guys. I've tested the command, but its a bit bugged... Everytime I /givecookie to someone, it adds to my cookies too. And my friend says it says he has 0 cookies when he does the command /mycookies... If you don't know what I mean, let me know. Oh, and here's the /mycookies command.
pawn Код:
CMD:mycookies(playerid, params[])
{
new cstring[64];
format(cstring, sizeof(cstring), "You have %d Cookies.", PlayerInfo[playerid][pCookies]);
SendClientMessage(playerid, COLOR_WHITE, cstring);
return 1;