20.04.2013, 17:48
(
Последний раз редактировалось orlanxd; 21.04.2013 в 04:19.
)
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
public OnGameModeInit() {
ShowPlayerMarkers(1);
return true;
}
#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]);
}
}
}