Need some help,
#1

I've added the player blimps from the wiki page with no errors, but it isn't working in game any ideas?
Reply
#2

Could you show us the code?
Reply
#3

Код:
public OnGameModeInit()
{
	print("Gamemode started.");
	// Default Rates
	print("Gamemode started.");
    new a[][] =
    {
        "Unarmed (Fist)",
        "Brass K"
    };
    #pragma unused a
    print("Gamemode started.");
    //InitDatabase();
    //Audio_SetPack("default_pack", true);
    djson_GameModeInit();
	EnableStuntBonusForAll(0);
	new servergmtextstr[128];
	format(servergmtextstr, 128, "gamemodetext %s", SERVER_GM_TEXT);
	SendRconCommand(servergmtextstr); // DO NOT REMOVE THIS
	new string[42];
	new string1[MAX_PLAYER_NAME];
	ShowPlayerMarkers(2);
	//LimitPlayerMarkerRadius(100.0);
	//ShowPlayerMarkers(PLAYER_MARKERS_MODE_STREAMED);
Reply
#4

ShowPlayerMarkers(1);

and uncomment //LimitPlayerMarkerRadius(100.0);

that should do the trick
Reply
#5

Quote:
Originally Posted by blackwidow18
Посмотреть сообщение
ShowPlayerMarkers(1);

and uncomment //LimitPlayerMarkerRadius(100.0);

that should do the trick
Or:
pawn Код:
public OnGameModeInit()
{
    // Player markers only visible to near players
    ShowPlayerMarkers(2);
}
https://sampwiki.blast.hk/wiki/ShowPlayerMarkers
Reply
#6

Both don't seem to work, I have no idea why either, which is why I am seeking help.
Reply
#7

Are the colors visible on the map? The hex color codes should not end with 00 for them to be visible on the map. See here: https://sampwiki.blast.hk/wiki/Colors_Li...ransparency.29
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)