a simple question for someone to answer? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a simple question for someone to answer? (
/showthread.php?tid=129049)
a simple question for someone to answer? -
vardanega - 20.02.2010
Hi, I want to know how to do that when a player dies killed by the weapon id 4 it changes its skin?
thank you
Re: little question skin -
Born2die - 20.02.2010
pawn Code:
public OnPlayerDeath(playerid, killerid, reason) {
if(reason == 4)
{
SetPlayerSkin(playerid, skinid)
}
return 1;
}
Re: a simple question for someone to answer? -
vardanega - 20.02.2010
thanks !