02.06.2010, 16:32
Give me a spawn for this 3 skin : 2 22 23 Plz
or exampl of two
If i do
it Compil without errors but in the server it not work
it spawn all them in one place
or exampl of two
If i do
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid,0);
GivePlayerMoney(playerid,1000);
new skinidi = GetPlayerSkin(playerid);
if(skinidi == 2)
if(skinidi == 22)
if(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;
}
it spawn all them in one place