SA-MP Forums Archive
WTF is this (Vehicles/Menus)? - 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: WTF is this (Vehicles/Menus)? (/showthread.php?tid=91248)



WTF is this (Vehicles/Menus)? - SiJ - 13.08.2009

Hey,
1.Today I just freaked out then I picked up pickup (entrance to building) and it showed me another pickup code ("Do you want to work as medic?") and all pickups were executing wrong codes.. [SOLVED]
This happened with menus too, I typed command which would show me one menu, ok it showed correctly, but then I clicked on any menu item, it executed code from another menu.... MenuIDs are DIFFERENT..

2.And another problem with vehicles.. Sometimes they just spawn in the middle of the road instead of their original position.. Why this happens? [SOLVED]

Anybody can help me?

P.S. I don't use any pickup / vehicle streamer..


Re: WTF is this (Pickups/Vehicles/Menus)? - pen_theGun - 13.08.2009

http://forum.sa-mp.com/index.php?topic=82288.0
Quote:

a_samp.inc

* AddStaticPickup - Doesn't return an id
* CreatePickup - Pickup ids are often different for different players. I presume it is a problem with keeping track of them and assigning ids for players. This affects OnPlayerPickUpPickup and DestroyPickup as they will be used with different pickups for players.




Re: WTF is this (Pickups/Vehicles/Menus)? - SiJ - 13.08.2009

Quote:
Originally Posted by pen_†ĥęGun
http://forum.sa-mp.com/index.php?topic=82288.0
Quote:

a_samp.inc

* AddStaticPickup - Doesn't return an id
* CreatePickup - Pickup ids are often different for different players. I presume it is a problem with keeping track of them and assigning ids for players. This affects OnPlayerPickUpPickup and DestroyPickup as they will be used with different pickups for players.

Ok.. I think this FS will help me with pickups.. Now.. What about Menus and Vehicles?



Re: WTF is this (Vehicles/Menus)? - FUNExtreme - 13.08.2009

The vehicle problem is caused by samp and can not be solved.


Re: WTF is this (Vehicles/Menus)? - SiJ - 13.08.2009

Quote:
Originally Posted by FUNExtreme
The vehicle problem is caused by samp and can not be solved.
Ok thanks, soo maybe problem with menus is samp bug too?


Re: WTF is this (Vehicles/Menus)? - wilcock33 - 13.08.2009

no lol - menus are all you, no offence

what is it you are tying to create a menu of?