SA-MP Forums Archive
Anyone has an idea how to do it? - 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: Anyone has an idea how to do it? (/showthread.php?tid=583838)



Anyone has an idea how to do it? - Lunixx - 31.07.2015

pawn Код:
// Player Vehicle Defines
#define MAX_PLAYERVEHICLES 5
#define MAX_PLAYERTOYS 5
#define MAX_MODS 15
#define MAX_DEALERSHIPVEHICLES 10
#define MAX_CARDEALERSHIPS 20
#define MAX_GANG_VEHICLES 5
#define INVALID_PLAYER_VEHICLE_ID 0
Is it possible to set it like this:
Normal Player - 2 Vehicles
Bronze VIP - 3
Silver VIP - 4
Gold VIP - 5


Re: Anyone has an idea how to do it? - SWAT4 - 31.07.2015

i guess This
Quote:

#define MAX_PLAYERVEHICLES 5

Should be on 4 Types
Код:
#define MAX_PLAYERVEHICLES 2
#define MAX_BRONZEVEHICLES 3
#define MAX_SILVERVEHICLES 4
#define MAX_GOLDVEHICLES 5



Re: Anyone has an idea how to do it? - Lunixx - 31.07.2015

do i need to add more functions etc? or thats enough?


Re: Anyone has an idea how to do it? - SWAT4 - 31.07.2015

Depends on your script,
Try it like that


Re: Anyone has an idea how to do it? - Lunixx - 31.07.2015

Im using ngrp edit?


Re: Anyone has an idea how to do it? - SWAT4 - 31.07.2015

and should i know Its codes .. I don't use NGRP edits xD