Server Commands stop working, when typed a command
#1

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
pawn Код:
if (strcmp(cmd, "/givemexc", true) == 0)
    {
      SendClientMessage(playerid, COLOR_YELLOW, "{ ! } You earned 1 XCash!");
      GivePlayerXcash(playerid, 1);
      return 1;
    }
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
Reply


Messages In This Thread
Server Commands stop working, when typed a command - by DaHP14Y3R - 08.04.2010, 18:07
Re: Server Commands stop working, when typed a command - by Thrarod - 08.04.2010, 18:15
Re: Server Commands stop working, when typed a command - by DaHP14Y3R - 08.04.2010, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)