08.04.2010, 18:07
Well i tried to make my own server, it has server sided cash called XCash.
So i tried to make command /xcash and /givemexc to test the /xcash.
/xcash worked fine, but not /givemexc
Lines of /givemexc
When i type /givemexc it says "{ ! } You earned 1 XCash" and then says "SERVER: Unknown command"
after that NONE of the commands work.
I used this :
http://forum.sa-mp.com/index.php?topic=95879.0
So i tried to make command /xcash and /givemexc to test the /xcash.
/xcash worked fine, but not /givemexc
Lines of /givemexc
pawn Код:
if (strcmp(cmd, "/givemexc", true) == 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "{ ! } You earned 1 XCash!");
GivePlayerXcash(playerid, 1);
return 1;
}
after that NONE of the commands work.
I used this :
http://forum.sa-mp.com/index.php?topic=95879.0