R3ter Posted June 14, 2016 Posted June 14, 2016 where can i find the script that creates weapon on player wasted in death match ??
Bean666 Posted June 14, 2016 Posted June 14, 2016 try, if you mean by give him weapon after death here it is: local weapon = {30, 31, 34, 25, 29, 27, 24} local ammo = {200,250,300,350,400,450,500} function weapons() weapon, totalAmmo = weapon[ math.random( #weapon ) ] , ammo[math.random(#ammo)] weaponReceived = giveWeapon( source, weapon, totalAmmo, true); if weaponReceived then outputChatBox("You received a random weapon with "..totalAmmo.." ammo") end end addEventHandler("onPlayerSpawn", getRootElement(), weapons)
R3ter Posted June 14, 2016 Author Posted June 14, 2016 try, if you mean by give him weapon after death here it is: local weapon = {30, 31, 34, 25, 29, 27, 24} local ammo = {200,250,300,350,400,450,500} function weapons() weapon, totalAmmo = weapon[ math.random( #weapon ) ] , ammo[math.random(#ammo)] weaponReceived = giveWeapon( source, weapon, totalAmmo, true); if weaponReceived then outputChatBox("You received a random weapon with "..totalAmmo.." ammo") end end addEventHandler("onPlayerSpawn", getRootElement(), weapons) No i mean where can i find the scripte that already in death match mod so i can stop/delete it
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