Onplayerdeath set player class to
#1

Hey guys i wanna know how to do this
If team1 player kill team2 player, then setplayerid to team1
How to do that?
Reply
#2

Код:
OnPlayerDeath(playerid,killerid,reason)
{
if(GetPlayerTeam(killerid) == 1)
{
SetPlayerTeam(playerid,2);
}
return 1;
}
i think you are making a zombie gamemode?
yes?
Reply
#3

Wow thanks i think working no errors while compiling
REP+++
and yes im making a zombie server
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)