Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stock UpdateMarkerForPlayer(playerid)
- {
- if (playerid != INVALID_PLAYER_ID)
- {
- if (IsPlayerConnected(playerid))
- {
- for (new i = 0; i < MAX_PLAYERS; i ++)
- {
- if (IsPlayerConnected(i))
- {
- if (adminon[i]) continue;
- SetPlayerMarkerForPlayer(playerid, i, GetMarkerColor(playerid, i));
- }
- }
- }
- }
- return 0;
- }
- stock UpdateMarkerForOther(playerid)
- {
- if (playerid != INVALID_PLAYER_ID)
- {
- if (IsPlayerConnected(playerid))
- {
- for (new i = 0; i < MAX_PLAYERS; i ++)
- {
- if (IsPlayerConnected(i))
- {
- if (adminon[playerid]) continue;
- SetPlayerMarkerForPlayer(i, playerid, GetMarkerColor(i, playerid));
- }
- }
- }
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement