help pls!!!!! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help pls!!!!! (
/showthread.php?tid=150304)
help pls!!!!! -
billiout - 25.05.2010
how can i make when someone get on a checkpoint to send him to wait for 30 sec and then execute a command. i mean when he enter to show a gametext and say 30,29,28 etc and then do something.
i use this streamer
http://forum.sa-mp.com/index.php?topic=127905.0
pls help!!!
Re: help pls!!!!! -
billiout - 26.05.2010
<BUMP> pls!!!!!!!!!!!!!!!
Re: help pls!!!!! -
ViruZZzZ_ChiLLL - 26.05.2010
pawn Код:
new CP1;
public OnGameModeInit()
{
CP1 = CreateDynamicCP(....)
return 1;
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == CP1)
{
SetTimer("DoNothingHere", 30000, true);
TogglePlayerControllable(playerid, 0);
}
return 1;
}
forward DoNothingHere();
public DoNothingHere()
{
TogglePlayerControllable(playerd, 1);
return 1;
}
Well its basically like that.