Getting past the SetPlayerTeam anti-teamkill bug
#4

i was using a global variable, however, after i switched to PVars, it worked aswell:
Код:
public OnPlayerText(playerid, text[]){
new Faction=GetPVarInt(playerid,"Faction");//Faction got used a lot more times...
SetPlayerTeam(playerid,Faction);//never caused problems here
i was using a colored faction tag, and some other faction-depending stuff, the onplayertext was the simplest way to implement setting the team again and again..
Reply


Messages In This Thread
Getting past the SetPlayerTeam anti-teamkill bug - by Lorenc_ - 23.09.2011, 15:41
Re: Getting past the SetPlayerTeam anti-teamkill bug - by Babul - 23.09.2011, 15:55
Re: Getting past the SetPlayerTeam anti-teamkill bug - by Lorenc_ - 23.09.2011, 15:58
Re: Getting past the SetPlayerTeam anti-teamkill bug - by Babul - 23.09.2011, 16:10
Re: Getting past the SetPlayerTeam anti-teamkill bug - by Lorenc_ - 23.09.2011, 16:32
Re: Getting past the SetPlayerTeam anti-teamkill bug - by Lorenc_ - 26.09.2011, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)