27.02.2009, 00:32
hi i have this:
in my high update (i made a clanwar)
but its dont work.
whats wrong?
pawn Код:
public RefUpdate()
{
new Float:x,Float:y,Float:z;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(gTeam[i] == TEAM_REF)
{
GetPlayerPos(i,x,y,z);
if(z < 37)
{
SpawnPlayer(i);
SetPlayerHealth(i,100);
SendClientMessage(i,COLOR_RED,"Dont go from the Tower!");
}
}
}
return 1;
}
but its dont work.
whats wrong?