Need a normal Announce / Slap command.
#1

Hey i want someone to make a simple Announce / Slap command for me.

and dont add an admin level require thingy.

make it ZCMD please! <3
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)