[help]Skin - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [help]Skin (
/showthread.php?tid=353529)
[help]Skin -
nikolat007 - 23.06.2012
Hello i have a problem with my script.....skin doesn't save after death
i have this code in my script
Код:
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, -1000);
if(pTeam[playerid] == team_lspd)
{
SetPlayerSkin(playerid, 285);
}
else if(pTeam[playerid] == team_gang)
{
SetPlayerSkin(playerid, 29);
}
return 1;
}
HELP me plssss, sorry for my bad english