01.01.2013, 15:04
Hey, I want that Faction Members have a colored Name but No marker on the map, how do I do that?
I've sscripted this stock:
I call this stock when a player goes onduty,
And when a player connect and in a 5 Minutes Timer.
So why is every name still white?!
thanks in advance
I've sscripted this stock:
Quote:
stock ShowFactionShowmesForPlayer(playerid) { for(new i=0; i < MAX_PLAYERS; i++) { if(Duty[i] == 1) { if(GetPVarInt(i, "pTeam") == tCop || GetPVarInt(i, "pTeam") == tSheriff) { SetPlayerMarkerForPlayer(playerid, i, 0x0073FFFF); } else if(GetPVarInt(i, "pTeam") == tFeuerwehr) { SetPlayerMarkerForPlayer(playerid, i, 0xFF780000); } else if(GetPVarInt(i, "pTeam") == tOrdnungsamt) { SetPlayerMarkerForPlayer(playerid, i, 0x00FFB400); } } else SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00); } return 1; } |
Quote:
for(new i; i < MAX_PLAYERS; i++) ShowFactionShowmesForPlayer(i); |
So why is every name still white?!
thanks in advance