03.06.2010, 06:42
pawn Код:
public OnPlayerSpawn(playerid) {
SetPlayerInterior(playerid,0);
GivePlayerMoney(playerid,1000);
new skinidi = GetPlayerSkin(playerid);
if(skinidi == 2 || skinidi == 22 || skinidi == 23) {
switch(random(3)) {
case 0 :SetPlayerPos(playerid,1433.0177,1492.2183,10.8422),SendClientMessage(playerid,COLOR_WHITE,"/lva.");
case 1 :SetPlayerPos(playerid,1838.9441,-1356.9666,13.5625),SendClientMessage(playerid,COLOR_WHITE,"/ls1.");
case 2 :SetPlayerPos(playerid,1989.5594,1091.2728,10.6719),SendClientMessage(playerid,COLOR_WHITE,"/lv1.");
}
}
return 1;
}