SA-MP Forums Archive
[HELP] [REP+] How i can show backup location when using /backup - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] [REP+] How i can show backup location when using /backup (/showthread.php?tid=569387)



FIXED - HydraHumza - 30.03.2015

FIXED


Re: [HELP] [REP+] How i can show backup location when using /backup - CalvinC - 30.03.2015

Use SetPlayerMarkerForPlayer:
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer


Re: [HELP] [REP+] How i can show backup location when using /backup - HydraHumza - 30.03.2015

will u show me example how i am totally confuse :/


Re: [HELP] [REP+] How i can show backup location when using /backup - CalvinC - 30.03.2015

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i) && gTeam[i] == gTeam[playerid])
    {
        SendClientMessage(i, C_RED, string);
        SetPlayerMarkerForPlayer(i, playerid, color); // Change the color to the color you want
    }
}



Re: [HELP] [REP+] How i can show backup location when using /backup - HydraHumza - 30.03.2015

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i) && gTeam[i] == gTeam[playerid])
    {
        SendClientMessage(i, C_RED, string);
        SetPlayerMarkerForPlayer(i, playerid, color); // Change the color to the color you want
    }
}
Thank u so much +REP