SA-MP Forums Archive
How to check [Random Spawn] - 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)
+--- Thread: How to check [Random Spawn] (/showthread.php?tid=398609)



How to check [Random Spawn] - JaKe Elite - 10.12.2012

I want to check if the player spawns in Abandoned Airport

example

pawn Код:
enum SpawnInfo
{
     SpawnID,
     Float:x,
     Float:y,
     Float:z,
     Float:a
}

new RandomBlah[][SpawnInfo] =
{
      {id, x, y, z}, //LSAIR Blahblahblah example
      {2, x, y, z} //Abandoned Airport
}
How to check if player is spawned in Abandoned Airport from Random Spawn?
because there is some object take to load so i need to freeze player when the player is randomly spawn in Abandoned Airport.