02.12.2013, 14:01
public OnPlayerSpawn(playerid) * * * * * * * * * *// OnPlayerSpawn Callback
{
* * switch ( MapChange *) { * * * * * * * * * * * // you must have a case for the mapchange to get the list going
* * * * case 0: * * * * * * * * * * * * * * * * * // MapChange1 this is the part for MapChange = 0; Which basically starts of the first MapChangein the list
* * * * {
* * * * * * SetPlayerPos(playerid, X,Y,Z); * * * *// XYZ Co-rds of the first map
* * * * * * SetPlayerFacingAngle(playerid,0.0); * // Facing Angle of the first map
* * * * }
* * * * case 1: * * * * * * * * * * * * * * * * * // MapChange2 same settings on top
* * * * {
* * * * * * SetPlayerPos(playerid, X,Y,Z);
* * * * * * SetPlayerFacingAngle(playerid,0.0);
* * * * }
* * * * case 2: * * * * * * * * * * * * * * * * * // blah blah next MapChangestuff here
* * * * {
* * * * }
* * }
* * return 1;
}
How to create random spawns here?
{
* * switch ( MapChange *) { * * * * * * * * * * * // you must have a case for the mapchange to get the list going
* * * * case 0: * * * * * * * * * * * * * * * * * // MapChange1 this is the part for MapChange = 0; Which basically starts of the first MapChangein the list
* * * * {
* * * * * * SetPlayerPos(playerid, X,Y,Z); * * * *// XYZ Co-rds of the first map
* * * * * * SetPlayerFacingAngle(playerid,0.0); * // Facing Angle of the first map
* * * * }
* * * * case 1: * * * * * * * * * * * * * * * * * // MapChange2 same settings on top
* * * * {
* * * * * * SetPlayerPos(playerid, X,Y,Z);
* * * * * * SetPlayerFacingAngle(playerid,0.0);
* * * * }
* * * * case 2: * * * * * * * * * * * * * * * * * // blah blah next MapChangestuff here
* * * * {
* * * * }
* * }
* * return 1;
}
How to create random spawns here?

