![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
![•](img/dot.gif)
So you just have to know the variables conventions instead of looking up every ID.
the item IDs are stored in variables which have the same name like ingame without spaces, hypens and plus.
Instead of using
1
2
2
if(weapon==47) -- ...
you could also write
1
2
2
if(weapon==RPGLauncher) then -- ...
To use this file, you have to add this line of code into your files where
you need the variables:
1
dofile("sys/lua/wpnids.lua")
Zugelassen von SQ
Download
3 kb, 1.142 Downloads