Gamemode and their confusing ids. - 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: Gamemode and their confusing ids. (
/showthread.php?tid=397031)
Gamemode and their confusing ids. -
DexterBR - 02.12.2012
Every time I change something in my 'Gamemode' it begins to confuse the cars, saying that a car is a bike or otherwise. How do I organize?
I'm using a version of Ravens, and editing, little by little.
There is some diference if i use Createobject or Createdynamicobject? I'm doing it by Dynamic object, and i think that its the cause.
Re: Gamemode and their confusing ids. -
DexterBR - 03.12.2012
Bump.
Re: Gamemode and their confusing ids. -
maramizo - 03.12.2012
Search the script for what differentiates the cars from bikes, and start debugging and black box testing it.
Re: Gamemode and their confusing ids. -
DexterBR - 03.12.2012
Now the errors changed! When i included some objects in the city, GM start to confuse IDS, and normal cars became mafia cars, and all of these bugs...
Re: Gamemode and their confusing ids. -
DexterBR - 05.12.2012
Anyone?
Re: Gamemode and their confusing ids. -
Vince - 05.12.2012
Quote:
Originally Posted by DexterBR
I'm using a version of Ravens
|
Here's your answer. This gamemode is not to be edited as it relies on assumptions. The script assumes that vehicleids 1 to 10 are cars, vehicleids 11 to 20 are bikes, etc. If you start adding or deleting stuff then you will fuck everything up.