Jump to content
  • 0

Problema la ShowPlayerMarkers


Question

Posted

Am adaugat ShowPlayerMarkers(1); dupa OnGameModeInit

public OnGameModeInit()
{
ShowPlayerMarkers(1);
    new string[MAX_PLAYER_NAME];
    new string1[MAX_PLAYER_NAME];
for(new c=0;c<CAR_AMOUNT;c++)
{
Gas[c] = GasMax;
}
Ceas0 = TextDrawCreate(549.000000, 20.000000, "--");
TextDrawBackgroundColor(Ceas0, -255);
TextDrawFont(Ceas0, 3);
TextDrawLetterSize(Ceas0, 0.5, 1.5);
TextDrawColor(Ceas0, 0xD93826FF);
TextDrawSetOutline(Ceas0, 1);
TextDrawSetProportional(Ceas0, 1);
TextDrawSetShadow(Ceas0, 1);

Ceas1 = TextDrawCreate(575.000000, 20.000000, "--");
TextDrawBackgroundColor(Ceas1, -255);
TextDrawFont(Ceas1, 3);
TextDrawLetterSize(Ceas1, 0.5, 1.5);
TextDrawColor(Ceas1, 0xE6E600FF);
TextDrawSetOutline(Ceas1, 1);
TextDrawSetProportional(Ceas1, 1);
TextDrawSetShadow(Ceas1, 1);

si nu merge :|

din cate am mai vazut mai sunt probleme si la culori (din unele topicuri)

eu am asa

#define MAX_STRING 255
#define SKIN 1337
#define CHECKPOINT_NONE 0
#define COLOR_ASKQ 0xFF0000FF
#define COLOR_BODY 0xFDE39DAA
#define COLOR_SYSTEM 0xB2EBE0AA
#define CHECKPOINT_HOME 12
#define COLOR_SCRIPTER 0x4682B4FF
#define COLOR_AFK 0xAFAFAFAA
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_GRAD3 0xCBCCCEFF
#define COLOR_GRAD4 0xD8D8D8FF
#define COLOR_GRAD5 0xE3E3E3FF
#define COLOR_GRAD6 0xF0F0F0FF
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x008000FF
#define COLOR_GROVE 0x00FF00FF
#define COLOR_RED 0xAA3333AA
#define COLOR_LIGHTRED 0xFF6347AA
#define COLOR_ACHAT 0x7499FAFF
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTGREEN 0x9ACD32AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_YELLOW2 0xF5DEB3AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_FADE1 0xE6E6E6E6
#define COLOR_FADE2 0xC8C8C8C8
#define COLOR_FADE3 0xAAAAAAAA
#define COLOR_FADE4 0x8C8C8C8C
#define COLOR_FADE5 0x6E6E6E6E
#define COLOR_PURPLE 0xC2A2DAAA
#define COLOR_DBLUE 0x2641FEAA
#define COLOR_ALLDEPT 0xFF8282AA
#define COLOR_NEWS 0xEFC6FFFF
//#define COLOR_OOC 0xE0FFFFAA
#define COLOR_OOC 0xB1C8FBAA
#define COLOR_ORANGE 0xFF9900AA
#define TEAM_CYAN 1
#define TEAM_BLUE 2
#define TEAM_GREEN 3
#define TEAM_ORANGE 4
#define TEAM_COR 5
#define TEAM_BAR 6
#define TEAM_TAT 7
#define TEAM_CUN 8
#define TEAM_STR 9
#define TEAM_HIT 10
#define TEAM_ADMIN 11
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define OBJECTIVE_COLOR 0x64000064
#define TEAM_GREEN_COLOR 0xFFFFFFAA
#define TEAM_JOB_COLOR 0xFFB6C1AA
#define TEAM_HIT_COLOR 0xFFFFFF00
#define TEAM_BLUE_COLOR 0x8D8DFF00
#define TEAM_RADIO_COLOR 0xF2D068FF
#define COLOR_ADD 0x63FF60AA
#define TEAM_GROVE_COLOR 0x00D900C8
#define TEAM_VAGOS_COLOR 0xFFC801C8
#define TEAM_BALLAS_COLOR 0xD900D3C8
#define TEAM_AZTECAS_COLOR 0x01FCFFC8
#define TEAM_CYAN_COLOR 0xFF8282AA
#define TEAM_ORANGE_COLOR 0xFF830000
#define TEAM_COR_COLOR 0x39393900
#define TEAM_BAR_COLOR 0x00D90000
#define TEAM_TAT_COLOR 0xBDCB9200
#define TEAM_CUN_COLOR 0xD900D300
#define TEAM_STR_COLOR 0x01FCFF00
#define TEAM_ADMIN_COLOR 0x00808000
#define COLOR_INVIS 0xAFAFAF00
#define COLOR_SPEC 0xBFC0C200
#pragma tabsize 0
#define COLOR_SI 0x03FCFCFF
#define COLOR_PATERNO 0xFF00D995
#define COLOR_TATTAGLIA 0xFF9700DE
#define COLOR_STRACCI 0x8C4C05C0
#define COLOR_BARZINI 0x57CC13ED
#define COLOR_HITMAN 0xA5443BF3
#define COLOR_MAYOR 0xB3F856FF
#define COLOR_MAFIA 0x000000FF
#define COLOR_CUNEO 0x00928628
#define COLOR_CORLEONE 0x4F4F4FFF
#define COLOR_MEDIC 0xFF6347AA
#define COLOR_PD 0x2641FEAA
#define COLOR_FBI 0x0615C6FF
#define COLOR_NG 0x1E519DAA
#define COLOR_AOD 0xA3F803FF
#define COLOR_CLAN 0xB04F87FF
#define COLOR_1BLUE 0x0080FFFF
#define COLOR_1GREEN 0x6BD700FF
#define COLOR_1RED 0xFF5B5BFF
#define COLOR_FlamingCobras 0x542C2CFF
#define COLOR_ColomboFamiglia 0x8000FFFF
#define COLOR_YAMAGUCHI 0x808000FF
#define COLOR_BLUE 0x2641FEAA
#define COLOR_DARKNICERED 0x9D000096
#define COLOR_LIGHT_BLUE 0x9FB1EEAA
#define SCM SendClientMessage
#define PTP PlayerToPoint
#define DIALOG_STYLES 0
#define ResetMoneyBar ResetPlayerMoney
#define UpdateMoneyBar GivePlayerMoney
#define MAPICON_LOCAL            0 // displays in the player's local area
#define MAPICON_GLOBAL            1 // displays always
#define MAPICON_LOCAL_CHECKPOINT  2 // displays in the player's local area and has a checkpoint marker
#define MAPICON_GLOBAL_CHECKPOINT 3 // displays always and has a checkpoint marker
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define VEHICLE_PARAMS_UNSET    -1
#define VEHICLE_PARAMS_OFF  0
#define VEHICLE_PARAMS_ON  1
#define SLOT 1
#define KEY_ANALOG_UP          (2048)
#define KEY_ANALOG_DOWN        (4096)
#define KEY_ANALOG_RIGHT        (16384)
#define KEY_ANALOG_LEFT        (8192)
#define CashboxModel 1210  // Briefcase-model
#define MinCashboxValue 5000
#define MaxCashboxValue 10000
#define ValuedropPerSecond 8
#define DifficultyMode 2

am cautat si am mai gasit si asta

	SetPDistance(10);
EnableTirePopping(1);
EnableZoneNames(1);
AllowInteriorWeapons(1);
AllowAdminTeleport(0);
UsePlayerPedAnims();  //unique walking
//ShowPlayerMarkers(false);
DisableInteriorEnterExits();
EnableStuntBonusForAll(0);

Vedeti vreo rezolvare ceva ?

4 answers to this question

Recommended Posts

Posted

Dar ce probleme ai cu ShowPlayerMarkers?

Ce vrei sa faci cu functia aia?

PLAYER_MARKERS_MODE_OFF         (0) - Nu se vede nimeni pe harta!
PLAYER_MARKERS_MODE_GLOBAL      (1) - Se vad toti playeri pe harta!
PLAYER_MARKERS_MODE_STREAMED   (2) - Nu se vad numai cei ce sunt aproape langa tine 8-|

Fara reclama in semnatura!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.