19.01.2012, 10:23
The topic says here how:
pawn Код:
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