09.08.2013, 20:57
i want GetSkin get all skin exept 280 , 288 , 286 on death event
but when im in skin 280 or 288 or 286 then i want to change class(f4 then die) and select other skins
on spawn it will set my skin to those (280 , 286 , 28
skins ....... whats the problem ?
i dont want GetSkin put those skin ids in it
but when im in skin 280 or 288 or 286 then i want to change class(f4 then die) and select other skins
on spawn it will set my skin to those (280 , 286 , 28
skins ....... whats the problem ?i dont want GetSkin put those skin ids in it
Код:
public OnPlayerSpawn(playerid, killerid, reason){
SetPlayerSkin(playerid,GetSkin[playerid]);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason){
if(GetPlayerSkin(playerid)!= 280 || GetPlayerSkin(playerid)!= 288||GetPlayerSkin(playerid)!= 286){
GetSkin[playerid]=GetPlayerSkin(playerid) ;
}
return 1;
}

