Script Help #1 (Help me) - 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: Script Help #1 (Help me) (
/showthread.php?tid=80666)
Script Help #1 (Help me) -
[CK]Steel - 05.06.2009
okay, I'm scripting a small GM for my Mini-Game GM...
[Example]
I'm making it so that for example 2 enemy gangs are going to steal a bus with drugs inside of it, they have to steal it... (I could make the bus's spawn doesn't matter..) and they have to take it back to their HQ and they win the GM (I need help how do I make it so that it says in the screen, "Gang 1 stoled the Bus full of drugs!"...
If you can help please do so, I would be glad if I can get help!
Re: Script Help #1 (Help me) -
miokie - 05.06.2009
Define the Bus
OnPlayerEnterVehicle check if the player is in the enemy Bus
if it is the bus: SetPlayerCheckpoint
And OnPlayerEnterCheckpoint Check if the player is still in the enemy bus
DisableCheckpoint
and do whatever!