Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new SpawnS[MAX_PLAYERS];
- new Float:Spawns[6][3] =
- {
- {-1648.4087,95.7513,-11.1931},
- {-960.3566,979.8118,34.5781},
- {-846.6107,999.4467,24.5883},
- {-1899.1678,1016.9435,40.5593},
- {2238.4832,2428.8569,10.8203},
- {-1753.7567,961.5361,24.8828}
- };
- public OnPlayerSpawn(playerid)
- {
- if(SpawnS[playerid] == 1)
- {
- new rand = random(sizeof(Spawns));
- SetPlayerPos(playerid, Spawns[rand][0], Spawns[rand][1], Spawns[rand][2]);
- SetPlayerInterior(playerid,0);
- SetPlayerVirtualWorld(playerid, 0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement