Making multiple /enter and /exit commands? - 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: Making multiple /enter and /exit commands? (
/showthread.php?tid=149478)
Making multiple /enter and /exit commands? -
Luis- - 22.05.2010
I now know how to make /enter and /exit commands but how can i make multiple ones?
E.g: I can enter the Hospital by going to the marker and doing /enter
But at the same time i can goto the marker of Burgoer Shot and to /enter?
How can i do that?
Re: Making multiple /enter and /exit commands? -
Darekfred - 22.05.2010
If you know how to do that, then just copy the last line of your /enter line script and change the cords.
try else if.
Like Ex:
Quote:
If(pla pla pla)
{
pla pla pla
pla pla pla
pla pla pla
}
else if( pla pla pla)
{
pla pla pla
pla pla pla
pla pla pla
}
|
Re: Making multiple /enter and /exit commands? -
Luis- - 22.05.2010
Quote:
Originally Posted by TeRRoRism
If you know how to do that, then just copy the last line of your /enter line script and change the cords.
|
Alright thanks