Need a normal Announce / Slap command.
#2

It does not have anything of complication, is simpler than you think.

PHP код:
CMD:ann(playeridparams[])
{
    new 
message[145];
    if(
sscanf(params"s[145]"message)) return SendClientMessage(playerid, -1"/announce [message]");
     
GameTextForAll(message50003);
    return 
1;
}
CMD:slap(playeridparams[])
{
    if(
sscanf(params"d"params[0])) return SendClientMessage(playerid, -1"/slap [playerid]");
    if(!
IsPlayerConnected(params[0])) return SendClientMessage(playerid, -1"Disconnected player");
    
    new 
Float:pos[3];
    
GetPlayerPos(params[0], pos[0], pos[1], pos[2]);
    
SetPlayerPos(params[0], pos[0], pos[1], pos[2]+8.0);
    return 
1;

Reply


Messages In This Thread
Need a normal Announce / Slap command. - by Malph - 22.12.2018, 23:45
Re: Need a normal Announce / Slap command. - by Undef1ned - 23.12.2018, 02:02

Forum Jump:


Users browsing this thread: 1 Guest(s)