Need some help, - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need some help, (
/showthread.php?tid=296431)
Need some help, -
tsgh mike - 11.11.2011
I've added the player blimps from the wiki page with no errors, but it isn't working in game any ideas?
Re: Need some help, -
Ash. - 11.11.2011
Could you show us the code?
Re: Need some help, -
tsgh mike - 12.11.2011
Код:
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);
Re: Need some help, -
blackwidow18 - 13.11.2011
ShowPlayerMarkers(1);
and uncomment //LimitPlayerMarkerRadius(100.0);
that should do the trick
Re: Need some help, -
Stigg - 13.11.2011
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
Re: Need some help, -
tsgh mike - 13.11.2011
Both don't seem to work, I have no idea why either, which is why I am seeking help.
Re: Need some help, -
Vince - 13.11.2011
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