0.3e Cuffing System
#4

this is an example of a cuff command

pawn Код:
YCMD:cuff(playerid, params[], help)
{
    if (help)   {SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]");}
    else       
    {
        new targetid;
        if(sscanf(params,"r",targetid)) return SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]");
        RemovePlayerAttachedObject(targetid, 9);
        SetPlayerAttachedObject(targetid, 9, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
        SetPlayerSpecialAction(targetid, SPECIAL_ACTION_CUFFED);
    }
    return 1;
}
Reply


Messages In This Thread
0.3e Cuffing System - by mwanted999 - 30.05.2012, 02:09
Re: 0.3e Cuffing System - by AMEENAMEEN - 30.05.2012, 02:17
Re: 0.3e Cuffing System - by mwanted999 - 30.05.2012, 02:18
Re: 0.3e Cuffing System - by Jonny5 - 30.05.2012, 02:31
Re: 0.3e Cuffing System - by 404 Not Found - 30.05.2012, 05:32
Re: 0.3e Cuffing System - by mwanted999 - 30.05.2012, 08:13
Re: 0.3e Cuffing System - by [FSaF]Jarno - 30.05.2012, 13:04

Forum Jump:


Users browsing this thread: 2 Guest(s)