SA-MP Forums Archive
Objects - 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: Objects (/showthread.php?tid=371096)



Objects - Monninpoikane - 22.08.2012

Well i installed the streamer 2.6.1 and got it work but after that i gotted run error 19 then i installed sscanf newest versio but still the objects wont show up? at compling pawno it says 1 error
Quote:

C:\Users\Juho\Desktop\SAMP server\gamemodes\PPC_Trucking.pwn(1870) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

whats wrong? i got no ideas why they wont show up... on my custom map got 1.764 objects and 79 carsD:


Re: Objects - [MM]RoXoR[FS] - 22.08.2012

For this warning
pawn Код:
#pragma tabsize 0
at top of your script.

Also make sure you have add
pawn Код:
plugins sscanf streamer
line in your server.cgf


Re: Objects - [MWR]Blood - 22.08.2012

Actually, it's better to indentate your code...


Re: Objects - Monninpoikane - 22.08.2012

my server.cfg
Quote:

echo Executing Server Config...
lanmode 1
rcon_password
maxplayers 20
port 7777
hostname SA-MP 0.3 Server
gamemode0 PPC_Trucking
filterscripts gl_actions gl_property gl_realtime
plugins streamer sscanf
announce 1
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]

what u mean with code? what code?


Re: Objects - clarencecuzz - 22.08.2012

By indentating your code, he means you should have the proper indentations as compared to using the tabsize. To be honest, I'm not sure why anyone wouldn't simply indent codes...
The warning is most likely very minor and won't affect your script dramatically. If you're using a Linux server, or hosting using services that use Linux servers, such as volt-host, you will need to add the file extension in your plugins line.

Windows servers:
pawn Код:
plugins sscanf streamer
Linux servers:
pawn Код:
plugins sscanf.so streamer.so



Re: Objects - Monninpoikane - 22.08.2012

This one?
Quote:

// Include default files
#include <a_samp>
#include <zcmd>
#include <dutils>
#include <sscanf2>
#include <streamer>




Re: Objects - Monninpoikane - 22.08.2012

Sorry for double post but in my pawno doesnt have this one
Quote:

Windows servers:
pawn Code:

plugins sscanf streamer



Re: Objects - clarencecuzz - 22.08.2012

No, if you are using windows, go to your server.cfg and change the 'plugins' line to
Код:
plugins sscanf streamer
If you are using LINUX, you must add .so (The file's extension) to the end.
Код:
plugins sscanf.so streamer.so
So, are you using Linux or Windows? Or if you aren't home hosting, what hosting service are you using? (ServerFFS, Volt-Host, JiHost, ColorHost etc.)


Re: Objects - Monninpoikane - 22.08.2012

i am using windows and i am home hosting but i got that those plugins on server.cfg still wont work?