Slap command help
#5

Код:
GetPlayerName(playerid, string, 21);
    format(string, sizeof(string), "You have successfully slapped %s! || %s", string, reason);
    SendClientMessage(playerid, 0xF69521AA, string);
    return 1;
Here, you are getting the name of the person who DID /slap.

Код:
GetPlayerName(id, string, 21);
    format(string, sizeof(string), "You have successfully slapped %s! || %s", string, reason);
    SendClientMessage(playerid, 0xF69521AA, string);
    return 1;
This is what you need to change it to.
Reply


Messages In This Thread
Slap command help - by Vasu99 - 03.03.2014, 19:09
Re: Slap command help - by Aerotactics - 03.03.2014, 19:14
Re: Slap command help - by Vasu99 - 03.03.2014, 19:16
Re: Slap command help - by PrivatioBoni - 03.03.2014, 19:42
Re: Slap command help - by BKarner - 03.03.2014, 19:45
Re: Slap command help - by Nurgle4 - 03.03.2014, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)