SA-MP Forums Archive
0.3c objects does not show - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 0.3c objects does not show (/showthread.php?tid=234430)



Certain 0.3c objects does not show - interhit - 03.03.2011

I can't run certain 0.3c objects on my server (for example 18882). It just doesn't show on the server but in debug mode it works.
Can anybody tell me what to do?

I have installed the 0.3c server files on my server.


Re: 0.3c objects does not show - Markx - 03.03.2011

Hmm, wired, did you put the CreateObject under public OnGameModelNit (if its a gamemode) if you make a filescript put the code under public OnFileScripInit...


Re: 0.3c objects does not show - interhit - 03.03.2011

Of course.

I used it like this:
CreateObject(18882, -889.67, 2154.25, 62.66, -360.00, 0.00, 25.00);

inside OnGameModeInit.

It's weird because certain objects work, ex: (18782) ramp.


Re: 0.3c objects does not show - interhit - 03.03.2011

Anybody?


Re: 0.3c objects does not show - Gamer_Z - 03.03.2011

Can u show us your file (names directorys etc.. like filterscripts/test.pwn/amx , gamemodes/mode.pwn/amx), pawn code and server config?


Re: 0.3c objects does not show - interhit - 03.03.2011

I don't know why should you need cfg dates but anyway...

Server.cfg:

Код:
echo Executing Server Config...
lanmode 1
rcon_password ********
maxplayers 100
port 7777
hostname Jucatori.net - New World!
gamemode0 Fun
filterscripts LuxAdmin F_Streamer F_SpeedoMeter brad VAnims
plugins Whirlpool.so streamer.so
announce 1
query 1
weburl www.Jucatori.net
maxnpc 300
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind 195.225.**.**
GM File:

Head:
Код:
#include <a_samp>
#include <core>
#include <float>
#include <ladmin>
#include "../include/vehicles.inc"
#include <streamer>
OnGameModeInit:
Код:
public OnGameModeInit()
{
	SetGameModeText("4 Fun Lovers");
	AllowInteriorWeapons(1);
	EnableTirePopping(1);
	EnableStuntBonusForAll(1);
	SetWorldTime(10);
	ShowPlayerMarkers(1);
	DisableInteriorEnterExits();

CreateObject(18882, -889.67, 2154.25, 62.66,   -360.00, 0.00, 25.00);
CreateObject(18990, -966.48, 2116.16, 81.20,   -91.00, 0.00, -32.50);
CreateObject(18988, -853.06, 2075.15, 81.17,   91.00, 0.00, -156.00);
CreateObject(18988, -925.46, 2230.91, 81.13,   91.00, 25.00, 0.00);
CreateObject(18786, -997.24, 2123.57, 93.87,   -4.00, 4.00, -149.00);
CreateObject(18882, -889.67, 2154.25, 112.44,   -180.00, 0.00, 25.00);
CreateObject(18822, -798.82, 2190.49, 81.00,   -90.00, 84.00, 0.00);
CreateObject(18822, -751.02, 2193.41, 81.00,   -90.00, 258.00, 0.00);
CreateObject(18981, -717.93, 2207.65, 75.53,   0.00, 90.00, 33.00);
}
That would be enough to indentify the problem.


Re: 0.3c objects does not show - Mean - 03.03.2011

It's because you got OVER 400 objects, so every object after 400th one will not show, because 400 is limit. Use an Object Streamer, I think far best one made is Incognito's streamer.


Re: 0.3c objects does not show - interhit - 03.03.2011

Thanks Mean.