This dont work?
#1

Hello, why this dont work i must be in these 2 teams but how can i make it that it is regardless in which team i am, if im for example just in one?

Код:
	if(team[playerid] == TEAM_ZOMBIE)
	{
		if(team[playerid] == TEAM_ADUTY)
	{
Is it possible to do if(team TEAM_ZOMBIE OR TEAM_ADUTY?
Reply
#2

pawn Код:
if(team[playerid] == TEAM_ZOMBIE || team[playerid] == TEAM_ADUTY)
{
    //your stuff here
}
Hope this helps.
Reply
#3

works, thanks
Reply
#4

Check this https://sampwiki.blast.hk/wiki/Control_Structures
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)