xXMADEXx Posted December 22, 2012 Posted December 22, 2012 I have this script that i just made. For some reason when someone hits the pickup, it will not give it to them. It will just go away and respawn. Help me please. swat_m4 = createPickup ( 2563.6943359375, -1297.4033203125, 1031.421875, 3, 356, 1, 5000 ) setElementInterior(swat_m4,2) The Ultimate Lua Tutorial! | MTA PHP SDK
Castillo Posted December 22, 2012 Posted December 22, 2012 swat_m4 = createPickup ( 2563.6943359375, -1297.4033203125, 1031.421875, 2, 31, 1, 5000 ) setElementInterior(swat_m4,2) You set it as a custom pickup, and with a weapon object, not the weapon type and weapon ID. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
xXMADEXx Posted December 22, 2012 Author Posted December 22, 2012 swat_m4 = createPickup ( 2563.6943359375, -1297.4033203125, 1031.421875, 2, 31, 1, 5000 ) setElementInterior(swat_m4,2) You set it as a custom pickup, and with a weapon object, not the weapon type and weapon ID. Thank You. The Ultimate Lua Tutorial! | MTA PHP SDK
Castillo Posted December 22, 2012 Posted December 22, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now