02.12.2010, 08:29
Hello guys,i was wondering how i can apply the 'surrender' animation,and how to make it normal(no animation using a command?
Thanks
Thanks
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
Could you post an example timer(never really used timers)?
thanks |
new freezetimer;
forward TimerExample(playerid);
public TimerExample(playerid)
{
GetPlayerPos(playerid);
return 1;
}
if(!strcmp("/arrest", cmdtext, true))
{
freezetimer = SetTimerEx("TimerExample", 500, 1, "d", playerid);
}
if(!strcmp("/lawl", cmdtext, true))
{
DestroyTimer(freezetimer);
}
Maybe you should be advertising that you make gamemodes for cash if you don't even know how a timer or TogglePlayerControllable works.
|