29.09.2012, 13:37
My goal in this script is to make a Player X (From Team1) Can See All the otheres players Y
so i've make a timer at the top of the GameMod
then , when the player Spawn
and finaly
but looks like this code is not working , the player can't see the otheres on the map
Any sugestion to fix that or any one have an idea where the problem came from ?
so i've make a timer at the top of the GameMod
Код:
inf2(playerid); new inf[MAX_PLAYERS];
Код:
inf[playerid] = SetTimerEx("inf2", 5000, true, "i", playerid);
Код:
public inf2(playerid) { if(team[playerid] == 2) { for(new i = 0; i < MAX_PLAYERS; i++) { SetPlayerMarkerForPlayer(playerid, i, RED ); } return 1; }
Any sugestion to fix that or any one have an idea where the problem came from ?