SA-MP Forums Archive
gun detect - 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: gun detect (/showthread.php?tid=532154)



gun detect - iBots - 16.08.2014

Hey ,is it possible to make like enum for guns?like the name of lspd weapons will be LSPD Gun ....and it never changes ,how can i make an enum to the weapon like Weaponinfo[weaponid][lspdgun] = 1 or so?please help


Re: gun detect - Clad - 16.08.2014

pawn Код:
enum Info
{
    pLSPD, //LSPD Gun
    pLSPDa, //LSPD Gun Ammo
    pLVPD,//LVPD Gun
    pLVPDa//LVPD Gun
}
new PlayerInfo[MAX_PLAYERS][Info];



Re: gun detect - iBots - 17.08.2014

Any other way? Because i want them to be stored in trunk and...


Re: gun detect - iBots - 21.08.2014

hmmmm