Why not show objects
#1

Welcome to the topic title Do you understand, ask why not show objects .. As gamemode to connect on localhost but shows how objects using Host object does not display shows only removeObject .. .. What could it be?
Reply
#2

CreateObject is confined to 1000, if you have more than 1000 objects then you have to switch to streamer.
Reply
#3

Make sure their listed under GameModeInit or the function is called under there(If you're loading them from a function such as LoadObjects.)
Also try using this streamer:
https://sampforum.blast.hk/showthread.php?tid=102865
Change CreateObject to CreateDynamicObject once streamer is installed.
Reply
#4

object about 600..
Reply
#5

Show us the code that will help further.
Reply
#6

Quote:
Originally Posted by Lynn
Посмотреть сообщение
Show us the code that will help further.
What code ?? all my script ??
Reply
#7

Just what's under GameModeInit(Just the Objects that aren't showing.)
Reply
#8

}

public OnGameModeInit()
{
SendRconCommand("mapname test");

new versionstr[20];
format(versionstr, sizeof(versionstr), "%s", ServerioVersija);
SetGameModeText(versionstr);

if(GetMaxPlayers() > MAX_PLAYERS)
{
print("GetMaxPlayers > MAX_PLAYERS, padidinkite MAX_PLAYERS skaiciu.");
SendRconCommand("exit");
return 1;
}

mysql_debug(true); // true - Debug'as ijungtas.
mysql_connect(MySQL_HOST, MySQL_USER, MySQL_DATA, MySQL_PASS);
if(mysql_ping() >= 1) print("Prisijungeme prie MySQL sekmingai!");
else SendRconCommand("exit");

for(new pick; pick < MAX_PICKUPS; pick++) DestroyPickup(pick);

EnableStuntBonusForAll(false);
SetNameTagDrawDistance(30);
LimitGlobalChatRadius(20);
AllignMaxPlayers();
DisableInteriorEnterExits();
ManualVehicleEngineAndLights();
ShowPlayerMarkers(0);
LoadSpawns();
EnableLobiai();
CreateMenues();
LoadVehicles();
LoadObject();
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)