SA-MP Forums Archive
#define - 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: #define (/showthread.php?tid=581296)



#define - Maximun - 12.07.2015

hi everyone, so i want know if it's possible to add a model ID of a vehicle in #define ??


Re: #define - Sime30 - 12.07.2015

Yes.

#define VEH_INFERNUS 411


Re: #define - liquor - 12.07.2015

Yeah,
pawn Code:
#define INFERNUS 411
pawn Code:
CreateVehicle(INFERNUS.....
INFERNUS will now mean '411'. Remember, it is case sensitive, so 'INFERNUs' won't return '411'.


Re: #define - Maximun - 12.07.2015

ye it work and thank you both