12p Posted November 15, 2011 Posted November 15, 2011 math.random ( istart, iend ) In the 2nd argument of giveWeapon
BorderLine Posted November 15, 2011 Author Posted November 15, 2011 awwwwww you are the best. kisses from valparaiso thanks a loot man.. Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
AGENT_STEELMEAT Posted November 15, 2011 Posted November 15, 2011 Nobody ever pays me in kisses... *points head down and cries*
BorderLine Posted November 15, 2011 Author Posted November 15, 2011 Nobody ever pays me in kisses... *points head down and cries* kisses for you too :* haha always someone have a first time Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
Castillo Posted November 15, 2011 Posted November 15, 2011 CLIENT. addEvent("Zomb_STFU",true) addEventHandler("Zomb_STFU",root, function ( zomb ) triggerServerEvent ( "onZombieSpawned", zomb ) end) SERVER: local weaponsTable = {2, 3, 4, 5, 6, 7, 8, 9, 15 } addEvent("onZombieSpawned",true) addEventHandler("onZombieSpawned",root, function ( ) giveWeapon ( source, math.random(#weaponsTable), 1, true ) end) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
BorderLine Posted November 15, 2011 Author Posted November 15, 2011 CLIENT. addEvent("Zomb_STFU",true) addEventHandler("Zomb_STFU",root, function ( zomb ) triggerServerEvent ( "onZombieSpawned", zomb ) end) SERVER: local weaponsTable = {2, 3, 4, 5, 6, 7, 8, 9, 15 } addEvent("onZombieSpawned",true) addEventHandler("onZombieSpawned",root, function ( ) giveWeapon ( source, math.random(#weaponsTable), 1, true ) end) nice better than random.. now i can choise the weapons thx solid Actual Nick: [XGN]BorderLine Actual Clan: XLatino Actual Status: Staff, Mod Level 1 (BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline
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