SetPlayerMarkerForPlayer, to update?
#1

Hello, i have gangchats in my roleplay server, when you type /joingang [number] it will show you a marker at the minimap for all the players in the gang, but after shortly time the marker will be gone, is there a way to update the marker every 2 second? or something like that


stock ShowGang(playah,gang)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && PlayerInfo[i][pGang] == gang && !PlayerInfo[i][pBanished])
{
SetPlayerMarkerForPlayer(i, playah, 0xAFAFAFAA);
SetPlayerMarkerForPlayer(playah, i, 0xAFAFAFAA);
}
}
return 1;
}
Reply


Messages In This Thread
SetPlayerMarkerForPlayer, to update? - by Mikkel_RE - 29.07.2012, 16:57
Re: SetPlayerMarkerForPlayer, to update? - by Misiur - 29.07.2012, 17:23
Re: SetPlayerMarkerForPlayer, to update? - by Mikkel_RE - 29.07.2012, 17:26
Re: SetPlayerMarkerForPlayer, to update? - by Misiur - 29.07.2012, 17:27
Re: SetPlayerMarkerForPlayer, to update? - by Mikkel_RE - 29.07.2012, 17:49
Re: SetPlayerMarkerForPlayer, to update? - by Misiur - 29.07.2012, 17:58
Re: SetPlayerMarkerForPlayer, to update? - by Mikkel_RE - 29.07.2012, 19:55

Forum Jump:


Users browsing this thread: 4 Guest(s)