21.04.2013, 04:16
(
Последний раз редактировалось orlanxd; 21.04.2013 в 05:44.
)
um colega meu me passou essa fs aki
sera que da certo ?
Код:
#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]); } } }