Quote:
Originally Posted by CrAzY MaN
What do u want?
1.U wanna make server custom rebuy?
Like press F2 to get server rebuy weapons.
2.Or rebuy that weapons which were bought by person last round?
|
2. Rebuy the weapons which were bought by that person last round.
Here is what I have for getting the weapons.
PHP Code:
public client_buy(id, itemID) {
if(itemID > 30)
return PLUGIN_CONTINUE;
if(itemID == 17 || itemID == 16 || itemID == 1 || itemID == 26 || itemID == 11)
secWeapon[id] = itemID
else
primWeapon[id] = itemID