17.10.2009, 13:30
pawn Код:
public OnPlayerSpawn(playerid)
{
if(Is player in dm or simething)
{
new rand = random(3);
switch(rand)
{
case 0:
{
SetPlayerPos();
SetPlayerFacingAngle();
}
case 1:
{
SetPlayerPos();
SetPlayerFacingAngle();
}
case 2:
{
SetPlayerPos();
SetPlayerFacingAngle();
}
}
}
return 1;
}