13.08.2010, 19:04
(
Последний раз редактировалось Claude; 13.08.2010 в 19:12.
Причина: A fault in 3rd param (repeating[])
)
You MUST forward this
Add at public OnFilterScriptInIt:
Now we need to public it
Try this
pawn Код:
forward THplayers();
pawn Код:
SetTimer("THplayers", 1000, true); // true makes it repeat all the time
Now we need to public it
pawn Код:
public THplayers()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
new teamcount = 0, string[100];
if(GetPlayerTeam(i) == TEAM_HUNTER) teamcount++;
format(string, sizeof(string),"~n~ ~n~ ~n~ ~n~ ~g~Team Hunter Players: %d", teamcount); // the ~n~ makes it go to the bottom
GameTextForAll(1000, 3);
return 1;
}
return 1;
}