SA-MP Forums Archive
increasing cars Slots - 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: increasing cars Slots (/showthread.php?tid=473446)



increasing cars Slots - Alexander8 - 02.11.2013

in the GM im playing on , there's only 2 slots for cars for everyone , how can i increase them and where can i find this in the GM to edit it ?


Re: increasing cars Slots - JohnRazer - 02.11.2013

What do you mean, "car slots"? What GM are you using?
Also, to add vehicles, you can put this under:
pawn Код:
OnGameModeInit
This will add static vehicles:
pawn Код:
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2)



Re: increasing cars Slots - rappy93 - 02.11.2013

I think he meant private cars...like ownable one.


Re: increasing cars Slots - JohnRazer - 02.11.2013

Ohhh. That makes much more sense, look for something in your GM that looks something like "#define MAX_CARS" or something like that.


Re: increasing cars Slots - rappy93 - 02.11.2013

Again,I think he meant that he wants to increase the amount of cars a player can own...He should look for something like MAX_VEHICLE_SLOTS .. but if the gamemode is from the web it will get complicated for him.


Re: increasing cars Slots - CJay9209 - 03.11.2013

There's really only 3 mainstream GM's on here that allow multiple car ownership and saving. Which one you using?


Re: increasing cars Slots - Limex - 03.11.2013

There is not one single way of doing this. Each game mode has it's own car system and it's own way of working. For anybody to be able to help you, you need to instruct us what GM you're using (and a link to the download thread to make our lives easier).

Ideally you would post this question directly in the thread of the GM and somebody who checks that and has knowledge of the specific car system would help you.


Re: increasing cars Slots - Alexander8 - 03.11.2013

Sorry im not at home now , im using los santos city roleplay and i mean increasin the car slots for everyone for his own