Scripting error about static vehicle system. - 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: Scripting error about static vehicle system. (
/showthread.php?tid=515009)
Scripting error about static vehicle system. -
VictorCreed - 24.05.2014
I'm using a static vehicle system. I have a roleplay server. When a player buy a car using /v buy server can't create a new vehicle at sf docks. Actually it creates but codes mixing and system creates a vehicle at sf docks with no owner, at the same moment, code gives a NG Patrol Car, or a Bike. The problem with this as i saw: Some of the NG Patrol cars and bikes ID're 1,2,3...20. So player's vehicle's id can't be 1,2,3 twice. There's the mixing. So how can change that NG car's or bike's ID to 256 for example?
Re: Scripting error about static vehicle system. -
SKAzini - 24.05.2014
Car[256] = CreateVehicle.. ?
Re: Scripting error about static vehicle system. -
VictorCreed - 24.05.2014
Quote:
Originally Posted by SKAzini
Car[256] = CreateVehicle.. ?
|
Umm, I don't get it