SA-MP Forums Archive
auto respawn when drive in checkpoint! - 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: auto respawn when drive in checkpoint! (/showthread.php?tid=73632)



auto respawn when drive in checkpoint! - krisis32 - 16.04.2009

i did made a checkpoint!
I did made tow trucker job... is it possable to make - when the tow trucker drives car in checkpoint it auto respawn?


Re: auto respawn when drive in checkpoint! - SpiderPork - 16.04.2009

Yes, it is possible.


Re: auto respawn when drive in checkpoint! - beckzy - 16.04.2009

Quote:
Originally Posted by SpiderPork
Yes, it is possible.
Very helpful...

SpawnPlayer(playerid)
SetVehicleToRespawn(GetPlayerVehicleID(playerid))


Re: auto respawn when drive in checkpoint! - krisis32 - 16.04.2009

thanks


Re: auto respawn when drive in checkpoint! - hanzen - 17.04.2009

OnPlayerEnterCheckpoint >


Re: auto respawn when drive in checkpoint! - beckzy - 17.04.2009

Quote:
Originally Posted by hanzen
OnPlayerEnterCheckpoint >
OnPlayerEnterRaceCheckpoint


Re: auto respawn when drive in checkpoint! - hanzen - 17.04.2009

Quote:
Originally Posted by BeckzyBoi
Quote:
Originally Posted by hanzen
OnPlayerEnterCheckpoint >
OnPlayerEnterRaceCheckpoint
My bad xd


Re: auto respawn when drive in checkpoint! - Pyrokid - 17.04.2009

Quote:
Originally Posted by BeckzyBoi
Quote:
Originally Posted by hanzen
OnPlayerEnterCheckpoint >
OnPlayerEnterRaceCheckpoint
He's not doing a race though..


Re: auto respawn when drive in checkpoint! - ICECOLDKILLAK8 - 17.04.2009

Quote:
Originally Posted by pıʞoɹʎd
Quote:
Originally Posted by BeckzyBoi
Quote:
Originally Posted by hanzen
OnPlayerEnterCheckpoint >
OnPlayerEnterRaceCheckpoint
He's not doing a race though..
It depends weather he created a race checkpoint or a normal checkpoint


Re: auto respawn when drive in checkpoint! - Pyrokid - 17.04.2009

Quote:
Originally Posted by JeNkStAX
Quote:
Originally Posted by pıʞoɹʎd
Quote:
Originally Posted by BeckzyBoi
Quote:
Originally Posted by hanzen
OnPlayerEnterCheckpoint >
OnPlayerEnterRaceCheckpoint
He's not doing a race though..
It depends weather he created a race checkpoint or a normal checkpoint
SetVehicleToRespawn works normal in a regular checkpoint.