[Pedido] Localizaзao dos players
#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


Messages In This Thread
Ajuda aki com uma fs - by orlanxd - 20.04.2013, 17:48
Re: Localizaзao dos players - by zSuYaNw - 20.04.2013, 17:52
Respuesta: Re: Localizaзao dos players - by orlanxd - 20.04.2013, 18:33
Respuesta: Localizaзao dos players - by orlanxd - 20.04.2013, 22:34
Re: Respuesta: Localizaзao dos players - by Jumper. - 20.04.2013, 22:37
Re: Respuesta: Localizaзao dos players - by GTO.DoDo - 21.04.2013, 00:18
Re: Localizaзao dos players - by Gii - 21.04.2013, 00:25
Respuesta: Localizaзao dos players - by orlanxd - 21.04.2013, 04:16
Re: Localizaзao dos players - by Ley - 21.04.2013, 06:44
Respuesta: Localizaзao dos players - by orlanxd - 21.04.2013, 14:07

Forum Jump:


Users browsing this thread: 2 Guest(s)