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



[Solved]Werid. - Desi_Dude - 13.11.2012

Why does mappings dissappear ,When i map new stuff and add them to my Gamemode.?

I tried using
Код:
CreateObject
instead of
Код:
CreateDynamicObject
But it's the same everythins works fine but all the Mappings are gone .

Help me out please.
and i am using streamer Plugin Version 2.6.1.0

For example for LSPD Garage entrance,


See everything is gone i dont understand why ?

Spelt Wrong [Wired]/[Werid] -_-"


NOTE:I tried CreateDynamicObject - and it worked perfectly.


Re: Werid. - Sting. - 13.11.2012

I think the plugin must have or maybe not interfered. Well I'm using everything that deals with objects with CreateObject. What's wrong with your situation? Ermm...


Re: Werid. - Desi_Dude - 13.11.2012

Quote:
Originally Posted by RTR12
Посмотреть сообщение
I think the plugin must have or maybe not interfered. Well I'm using everything that deals with objects with CreateObject. What's wrong with your situation? Ermm...
My situation is when ever i add mapping to my script everything gets screwed up , all the mapping go missing , Why is that ? and if i remove the new mappings which i just mapped it will appear back .

P.S my server contains alot of mappings /Is it why its happeneing is there a limit?


Re: Werid. - Team_PRO - 13.11.2012

Try To Add OnGamemodeInit() on the top of the map code


Re: Werid. - Desi_Dude - 13.11.2012

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
Trey To Add OnGamemodeInit() on the top of the map code
This forum requires that you wait 120 seconds between posts. Please try again in 21 seconds -_-'


OT:Yeah about that, i added mappings after
Код:
OnGamemodeInit()
Anything else?.


Re: Werid. - Team_PRO - 13.11.2012

Thats what im doing did you put it in the top of the map codes?


Re: Werid. - Desi_Dude - 13.11.2012

Quote:
Originally Posted by Team_PRO
Посмотреть сообщение
Thats what im doing did you put it in the top of the map codes?
Yes i did,


Re: Werid. - Sting. - 13.11.2012

@Desi, I'm not sure whether there is a limit in SA-MP.


Re: Werid. - Team_PRO - 13.11.2012

Use Createobject


Re: Werid. - Desi_Dude - 13.11.2012

Quote:
Originally Posted by RTR12
Посмотреть сообщение
@Desi, I'm not sure whether there is a limit. Your server contains a lot of mappings. Well literally there must be a problem with the new mapping as you said. The wiki doesn't even have "Dynamic Object". I think Create Object is to create object's but less. In your case your creating many objects so you should try switching it to Dynamic Object but you yourself said both ways work. Kinda in a sticky situation.
Alright i dont think there is any problem with my new mappings , I tried to add a random map from SAMP-Mapping section ,same problem Occurs,