Define Teams?
#2

pawn Код:
//In the top
#define TEAM_ONE 1
new gTeam[MAX_PLAYERS];
//=====================//
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == TEAM_ONE)
{
//Your Function
}
return 1;
}
Reply


Messages In This Thread
Define Teams? - by ServerScripter - 31.08.2011, 18:47
Re : Define Teams? - by Naruto_Emilio - 31.08.2011, 18:59
Re: Define Teams? - by ServerScripter - 31.08.2011, 20:13
Re: Define Teams? - by Pinguinn - 31.08.2011, 20:20
Re: Define Teams? - by ServerScripter - 31.08.2011, 20:31
Re: Define Teams? - by Shetch - 31.08.2011, 20:33
Re: Define Teams? - by ServerScripter - 31.08.2011, 20:38
Re: Define Teams? - by Vince - 31.08.2011, 20:48
Re: Define Teams? - by ServerScripter - 31.08.2011, 21:05
Re: Define Teams? - by Davz*|*Criss - 31.08.2011, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)