[AJUDA] Como tirar checpoints das pesoas do mapa
#1

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?
Reply
#2

olha desculpe mais nгo entedir bem a sua pergunta
Reply
#3

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?
Reply
#4

OnGameModeInit
pawn Код:
ShowPlayerMarkers(0);
Reply
#5

alguйm pode, me ajudar no chat...
Reply
#6

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;
}
Reply
#7

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: )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)