Quote:
|
Originally Posted by VEN
ResetH UD 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