How to create rounds?
#6

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?
Reply


Messages In This Thread
How to create rounds? - by cleme - 02.12.2013, 11:51
Re: How to create rounds? - by xFallen - 02.12.2013, 12:47
Re: How to create rounds? - by Voxel - 02.12.2013, 12:53
Re: How to create rounds? - by cleme - 02.12.2013, 13:57
Re: How to create rounds? - by ReApZ - 02.12.2013, 14:00
Re: How to create rounds? - by cleme - 02.12.2013, 14:01
Re: How to create rounds? - by cleme - 02.12.2013, 14:05
Re: How to create rounds? - by SilentSoul - 02.12.2013, 14:07
Re: How to create rounds? - by cleme - 02.12.2013, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)