WTF is wrong with this cmd :S?
#3

Код:
public OnRconCommand(cmd[])
{
  if (strcmp(cmd, "/ecash", true)==0)
   { 
    SendClientMessage(playerid, COLOR_GREEN, "You just gave a player 10 thousand dollars!");
    SetPlayerMoney(playerid, 10000);
  return 1;
}

Note: you can change the color.

Reply


Messages In This Thread
WTF is wrong with this cmd :S? - by Ehab_Isaac101 - 21.06.2010, 19:04
Re: WTF is wrong with this cmd :S? - by Sergei - 21.06.2010, 19:08
Re: WTF is wrong with this cmd :S? - by Brian_G - 21.06.2010, 19:19
Re: WTF is wrong with this cmd :S? - by Westie - 21.06.2010, 19:26
Re: WTF is wrong with this cmd :S? - by Hiddos - 21.06.2010, 19:40
Re: WTF is wrong with this cmd :S? - by Agent Smith - 21.06.2010, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)