Cuffing Commands
#1

I am aware of the new SPECIAL_ACTION_CUFFED, but could someone show me a way in which I can cuff another player, and freeze him? I have searched everywhere and cant find a way.

This is what I had: ((Yeh i'm new, and strcmp is all i know how to use.))

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/cuff", cmdtext, true, 10) == 0)
{
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
return 1;
}
return 0;
}

So basically, how can I apply this to another player like: /cuff PLAYERID and /uncuff PLAYERID. An how might I freeze them so they can't move their camera or player whilst cuffed.
Reply


Messages In This Thread
Cuffing Commands - by Ciarannn - 18.02.2014, 16:18
Re: Cuffing Commands - by ShaneOvSina - 18.02.2014, 16:31
Re: Cuffing Commands - by Dignity - 18.02.2014, 16:34
Re: Cuffing Commands - by Kyance - 18.02.2014, 16:35
Re: Cuffing Commands - by Ciarannn - 18.02.2014, 16:45
Re: Cuffing Commands - by Ciarannn - 18.02.2014, 16:47
Re: Cuffing Commands - by Ciarannn - 18.02.2014, 16:51
Re: Cuffing Commands - by Dignity - 18.02.2014, 17:00
Re: Cuffing Commands - by Ciarannn - 18.02.2014, 18:03
Re: Cuffing Commands - by Dignity - 18.02.2014, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)