Onplayerdeath set player class to - 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: Onplayerdeath set player class to (
/showthread.php?tid=353359)
Onplayerdeath set player class to -
Beginerinprogress - 23.06.2012
Hey guys i wanna know how to do this
If team1 player kill team2 player, then setplayerid to team1
How to do that?
Re: Onplayerdeath set player class to -
peterory - 23.06.2012
Код:
OnPlayerDeath(playerid,killerid,reason)
{
if(GetPlayerTeam(killerid) == 1)
{
SetPlayerTeam(playerid,2);
}
return 1;
}
i think you are making a zombie gamemode?
yes?
Re: Onplayerdeath set player class to -
Beginerinprogress - 23.06.2012
Wow thanks i think working no errors while compiling
REP+++
and yes im making a zombie server