SA-MP Forums Archive
[AJUDA] Como tirar checpoints das pesoas do mapa - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Como tirar checpoints das pesoas do mapa (/showthread.php?tid=331928)



[AJUDA] Como tirar checpoints das pesoas do mapa - Pedro Pawno - 06.04.2012

Bom queria saber, como tira os checpoints, que mostra a localizaзгo, e tambйm queria colocar, que so quem estб prуximo le o chat podem me ajudar?


Re: [AJUDA] Como tirar checpoints das pesoas do mapa - R3S1D3NT1 - 06.04.2012

olha desculpe mais nгo entedir bem a sua pergunta


Respuesta: Re: [AJUDA] Como tirar checpoints das pesoas do mapa - Pedro Pawno - 06.04.2012

Quote:
Originally Posted by R3S1D3NT1
Посмотреть сообщение
olha desculpe mais nгo entedir bem a sua pergunta
Tipo cara, no GM padrao fica aparecendo no mapa uns checpoints mostrando, onde a pessoa estб eu queria tirar isso.

e na Hora, que o cara escrever so quem ta perto dele ve o chat entendeu?


Re: [AJUDA] Como tirar checpoints das pesoas do mapa - zbt - 06.04.2012

OnGameModeInit
pawn Код:
ShowPlayerMarkers(0);



Respuesta: [AJUDA] Como tirar checpoints das pesoas do mapa - Pedro Pawno - 06.04.2012

alguйm pode, me ajudar no chat...


Re: [AJUDA] Como tirar checpoints das pesoas do mapa - zbt - 06.04.2012

pawn Код:
public OnPlayerText(playerid, text[]) {
    new Float:p[3], s[128], n[24];
    GetPlayerName(playerid, n, 24);
    GetPlayerPos(playerid, p[0], p[1], p[2]);
    format(s, 128, "%s diz: %s", n, text);
    for(new i, j = GetMaxPlayers(); i != j; i++) {
        if(IsPlayerInRangeOfPoint(i, 5, p[0], p[1], p[2])) {
            SendClientMessage(i, -1, s);
        }
    }
    return false;
}



Respuesta: Re: [AJUDA] Como tirar checpoints das pesoas do mapa - Pedro Pawno - 06.04.2012

Quote:
Originally Posted by zbt
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[]) {
    new Float:p[3], s[128], n[24];
    GetPlayerName(playerid, n, 24);
    GetPlayerPos(playerid, p[0], p[1], p[2]);
    format(s, 128, "%s diz: %s", n, text);
    for(new i, j = GetMaxPlayers(); i != j; i++) {
        if(IsPlayerInRangeOfPoint(i, 5, p[0], p[1], p[2])) {
            SendClientMessage(i, -1, s);
        }
    }
    return false;
}
Muito Obrigado em cara: )