SA-MP Forums Archive
Dъvida SIMPLES! Rapidim *.* - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Dъvida SIMPLES! Rapidim *.* (/showthread.php?tid=187113)



Dъvida SIMPLES! Rapidim *.* - †♥† - 01.11.2010

blz galera, seguinte:

quando o player digitar "/abastecer" fazer com que ele fique sem se mexer por 5 segundos, atй acabar
de abastecer.

vlws!


Re: Dъvida SIMPLES! Rapidim *.* - Kasura - 01.11.2010

Basta por no seu comando

pawn Code:
TogglePlayerControllable(playerid,0);
SetTimerEx("Parar5Sec",5000,false,"i",playerid);
e no final do gm
pawn Code:
forward Parar5Sec(playerid);
public Parar5Sec(playerid){
TogglePlayerControllable(playerid,1);
return true;
}



Re: Dъvida SIMPLES! Rapidim *.* - †♥† - 01.11.2010

Opa vlw!