Quote:
Originally Posted by wrecked_
Code:
give_item(player, "weapon_ak47")
client_print(player, print_chat, "[ZP] You bought CSO REX CV-47 60R")
g_HasAk[player] = true;
Code:
new iWep = give_item(player, "weapon_ak47")
if( iWep > 0 )
{
cs_set_weapon_ammo( iWep, 30 )
cs_set_user_bpammo( id, CSW_AK47, 90 )
}
client_print(player, print_chat, "[ZP] You bought CSO REX CV-47 60R")
g_HasAk[player] = true;
|
thanks!
it gave me 6 compile errors it says that player, id has its undefined line 20-23 has no constant expression line 198 has no effect, expected token ; but found ), invalid expression assumed zero fatal error too many errors on one line.
__________________