23.06.2009, 15:22
Something like the following
pawn Код:
//top of script
Check();
//after main()
public Check()
{
for(new i = 0; i<GetMaxPlayers(); i++)
{
if(PlayerToPoint(i, x, y, z))
{
GameTextForPlayer(playerid, "blah blah blah blah", 5000, 5);
}
else if(PlayertoPoint(i, x, y, z))
{
GameTextForPlayer(playerid, "blah blah blah blah", 5000, 5);
}
}
}
//On GamemodeInit
SetTimer("Check", 1000, 1);