29.11.2009, 15:20
pawn Код:
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid)==1 || GetPlayerSkin(playerid)==2 || GetPlayerSkin(playerid)==3)
{
new randspwn(2);
switch(randspwn)
{
case 0: SetPlayerPos(playerid, -1637.3399, 674.1799 , 7.1875);
case 1: SetPlayerPos(playerid, -1600.3358, 650.8590, 7.1875);
case 2: SetPlayerPos(playerid, -1579.5858, 673.4845, 7.1901);
}
}
return 1;
}