11.11.2011, 15:23
I've added the player blimps from the wiki page with no errors, but it isn't working in game any ideas?
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);
|
ShowPlayerMarkers(1);
and uncomment //LimitPlayerMarkerRadius(100.0); that should do the trick |
public OnGameModeInit()
{
// Player markers only visible to near players
ShowPlayerMarkers(2);
}