Help fast pls - 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: Help fast pls (
/showthread.php?tid=222466)
Help fast pls -
berz - 07.02.2011
Hei. How i can make that on my server we can own 5 Vehicles in /stats?
Re: Help fast pls -
legodude - 07.02.2011
explain a bit more we can't help you fast this way.
Re: Help fast pls -
berz - 07.02.2011
Now im my RP server we can only have max 3 vehicles, but i want set that we can own max 5 vehicles.
Re: Help fast pls -
alpha500delta - 07.02.2011
Isnt there a define for MAX_VEHICLES_OWNEABLE or something? Check the top of the script please
Re: Help fast pls -
berz - 07.02.2011
Код:
#define MAX_TRUNK_SLOTS (5) // Is actually 4.
#define MAX_VEHICLE_MODELS (70)
#define MAX_PLYVEH_RATIO (20) // per player.
#define MAX_VEHICLE_PLATE (7)
#define SERVER_MAX_PLAYERS 50
Thats only what is related to cars.
Re: Help fast pls -
alpha500delta - 07.02.2011
Well, you could try finding the variable(?) like /buycar
and it says MaxOwned++; or something...
Re: Help fast pls -
berz - 07.02.2011
Quote:
Originally Posted by alpha500delta
Well, you could try finding the variable(?) like /buycar
and it says MaxOwned++; or something...
|
Nah, can't find it. :/
Re: Help fast pls -
JamesC - 07.02.2011
You can't change the max amount of cars simply by altering a variable. As far as I know, you'll need to create several new variables to store the data from the two extra vehicles and then write to file.
Please, learn to script, not edit.
Re: Help fast pls -
berz - 07.02.2011
Quote:
Originally Posted by JamesC
You can't change the max amount of cars simply by altering a variable. As far as I know, you'll need to create several new variables to store the data from the two extra vehicles and then write to file.
Please, learn to script, not edit.
|
I want some help, and i can't learn to script if i dont know how to edit few things. So will You help me or not?
( i mean code or smth )