Objects
#1

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:
Reply
#2

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
Reply
#3

Actually, it's better to indentate your code...
Reply
#4

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?
Reply
#5

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
Reply
#6

This one?
Quote:

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

Reply
#7

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

Windows servers:
pawn Code:

plugins sscanf streamer
Reply
#8

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.)
Reply
#9

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


Forum Jump:


Users browsing this thread: 1 Guest(s)