24.12.2009, 10:38
Hey,
Is it possible to use gTeam so it would work in FSs and NPC scripts?
Example:
My GM
My FS
My NPC Script:
Hope you understood me...
Is it possible to use gTeam so it would work in FSs and NPC scripts?
Example:
My GM
pawn Код:
new gTeam[MAX_PLAYERS];
pawn Код:
public OnSomeCallback(playerid)
{
gTeam[playerid] = 5;
}
pawn Код:
public SomeCallback(playerid)
{
if(gTeam[playerid] == 5)
{
//Do something
}
}