[Pedido] Localizaзao dos players
#1

Alguem tem alguma fs ou algum tutorial do sistema que mostra a localizaзao do player no mini mapa com as cores da org como nessa imagem
Reply
#2

Isto й uma funзгo nativa ._.

https://sampwiki.blast.hk/wiki/ShowPlayerMarkers
Reply
#3

Quote:
Originally Posted by zSuYaNw
Посмотреть сообщение
Isto й uma funзгo nativa ._.

https://sampwiki.blast.hk/wiki/ShowPlayerMarkers
ok vou tentar
Reply
#4

nao consegui colocar vc tem alguma fs ou algum tutorial em video para me ajudar ?
Reply
#5

Quote:
Originally Posted by orlanxd
Посмотреть сообщение
nao consegui colocar vc tem alguma fs ou algum tutorial em video para me ajudar ?
Reply
#6

Quote:
Originally Posted by Jumper.
Посмотреть сообщение
shuahsuashaushuahshahshauhs kkkkkkkkkkkkkkkkkkkkkkk HAHAHAAHHAHAHAH SHAUSHUAHSUHAUSH KKIKIKIKIKIKKKIK!!!!

#Topic
no Ongame...

pawn Код:
ShowPlayerMarkers(PLAYER_MARKERS_MODE_GLOBAL);
Reply
#7

pawn Код:
public OnGameModeInit() {

    ShowPlayerMarkers(1);
    return true;
}
Reply
#8

um colega meu me passou essa fs aki
Код:
#define FILTERSCRIPT
#include <a_samp>
#define COLOR_LIGHTBLUE 0x33CCFFAA

forward LoadMarks(playerid);
new RandColors[1][256] = {

{COLOR_LIGHTBLUE}
};

public OnGameModeInit() {

    ShowPlayerMarkers(1);
    return true;
}

public OnFilterScriptInit()
{
        print("\n----------------------------------------------");
        print("Icone dos Jogadores no MineMapa com Cores ");
        print("por maikon");
        print("----------------------------------------------\n");
        return 1;
}

public OnFilterScriptExit()
{
        return 1;
}
public OnPlayerUpdate(playerid)
{
        LoadMarks(playerid);
}

public LoadMarks(playerid)
{
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
                if(IsPlayerConnected(i) && !IsPlayerNPC(playerid))
                {
                        new idx = random(sizeof(RandColors));
                        SetPlayerMarkerForPlayer(i, playerid, RandColors[idx][0]);
                }
        }
}
sera que da certo ?
Reply
#9

Reply
#10

alguem me ajuda ai
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)