Mapping Problems (Read This)
#1

Alright Guys, All of my scripter friends are not offline, So I wanna ask the question here instead of waiting.


First, Me and Ryan map a new map and put it on the Filterscript (all place we maps will be on ONE Filterscript only named "maps"). Then All maps are working properly but after we put a the LSPD Training Area map all the maps from GM are gone, How to fix this problem? most of the important maps are in the GM so I need to fix this


please reply asap.
Reply
#2

Use a streamer, SA-MP 0.3x objects are limited to 1000 objects, anything over that will remove some objects and show some others. I'd recommend using Incognito's streamer and converting all your CreateObject's to CreateDynamicObject. Using a streamer only streams the objects when a player is near them, so it's inevitably an unlimited amount of objects by using this streamer.
Reply
#3

I already updated streamer to lastest version, Can you teach me how to use Incognito's Streamer? since I don't know how to do it because I'm not a scripter :/
Reply
#4

and What's special with Igcognito's Streamer?
Reply
#5

Plugin streamer,

It minimizes the lag, How?

A: When a user is near to the obects place, The maps will be loaded instantly and shown, Where as not using streamer will cause lag because when the gamemode is started the full eg(3,000) objects are loaded.
Reply
#6

So, How can I fix this? :S
Reply
#7

Just replace any code that has
pawn Код:
CreateObject
to
pawn Код:
CreateDynamicObject
You can press CONTROL+F, go to Replace and then replace all.

Actually; not sure if that's available in Pawno, but it might be.

EDIT: It has Replace, but not replace all
Reply
#8

I'd suggest you download this program: https://sampforum.blast.hk/showthread.php?tid=282801, and then copy all your CreateObject code, about 100-200 at a time would be suitable, then press "Import Paste" on the map constructor after pressing the big button that says "LOAD" on the main screen. After that, press "Show Code" and select CreateDynamicObject at the top instead of CreateObject. Copy and REPLACE that code back into the original source, of where you got it from, do the same for the rest of them too.

Or, you can do what the guy above me said.
Reply
#9

Fixed, You guys late xD I found the answer from ******* lol
Reply
#10

Quote:
Originally Posted by EiresJason
Посмотреть сообщение
Just replace any code that has
pawn Код:
CreateObject
to
pawn Код:
CreateDynamicObject
You can press CONTROL+F, go to Replace and then replace all.

Actually; not sure if that's available in Pawno, but it might be.

EDIT: It has Replace, but not replace all
That doesn't take care of all the issues he will also need to update the drawdistance which requires an extra function or using CreateDynamicObjectEx() instead in fact CreateDynamicObject() is probably the worst function in the streamer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)