Best CMD / Using ZCMD / Ideas
#4

Here is one from my RP gamemode, it's a /flipoff command. Not the funniest thing in the world, but better than nothing.
pawn Код:
CMD:flipoff(playerid, params[])
{
    new
        giveplayerid,
        string[128]
    ;
    if(sscanf(params, "u", giveplayerid))
    {
        return SendClientMessage(playerid, -1, "USAGE: /flipoff [playerid]");
    }
    if(giveplayerid == playerid) return SendClientMessage(playerid, -1, "You cannot flip yourself off!");
    if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "Invalid player specified.");
    if(!IsPlayerInRangeOfPlayer(playerid, giveplayerid, 4.0))
    {
        return SendClientMessage(playerid, -1, "You are not close enough to flip off that person!");
    }
    else
    {
        format(string, sizeof(string), "* %s has flipped off %s.",GetName(playerid),GetName(giveplayerid));
        ProxDetector(30.0, playerid, string, COLOR_PURPLE);
        ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
    }
    return 1;
}
You need alternate stocks ofc, but just wanted to give you the idea.

You could try making one that like puts a dildo up their ass or something. Use your imagination!
Reply


Messages In This Thread
Best CMD / Using ZCMD / Ideas - by Joshb93 - 28.04.2012, 15:16
Re: Best CMD / Using ZCMD / Ideas - by ReneG - 28.04.2012, 15:18
Re: Best CMD / Using ZCMD / Ideas - by Joshb93 - 28.04.2012, 15:19
Re: Best CMD / Using ZCMD / Ideas - by ReneG - 28.04.2012, 15:28
Re: Best CMD / Using ZCMD / Ideas - by MP2 - 28.04.2012, 15:31
Re: Best CMD / Using ZCMD / Ideas - by leong124 - 28.04.2012, 15:33
Re: Best CMD / Using ZCMD / Ideas - by Joshb93 - 28.04.2012, 15:41
Re: Best CMD / Using ZCMD / Ideas - by MP2 - 28.04.2012, 15:42
Re: Best CMD / Using ZCMD / Ideas - by TheArcher - 28.04.2012, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)