Raised This Month: $ Target: $400
 0% 

Random options......


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 03-19-2006 , 13:56  
Reply With Quote #4

Quote:
Originally Posted by VEN
ResetHUD usually is a player spawn but not round change.

Quote:
Originally Posted by amxx wiki
Precompute what can be precomputed
Better put to the global array exact weapon names.
Then your func would be:
Code:
public func(id) {             new i = random(MAX_WEAPONS)             give_item(id , g_szWeaps[i])             ammo_up(id)             client_print( id, print_chat, "[WPN] Gave : %s", g_szWeaps[i][7] ) }
So if I define the weapon names in the plugin and use this set, on every round change, a random weapon will be given? Ill try this while I wait for a response. Thanks peeps
organizedKaoS is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode