PHP Code:
client_print(id, print_chat, "[ZP] "+ammont+" ammo give to "+user+"")
You can't format your string as in C++ / Java. Also, user is a id, not the name of the user.
http://www.amxmodx.org/funcwiki.php?go=func&id=49
http://www.amxmodx.org/funcwiki.php?go=func&id=165
user1_restar and user2_sumar are useless.
PHP Code:
new user1_restar = user1_ammo-ammount
new user2_sumar = user2_ammo+ammount
zp_set_user_ammo_packs(id,user1_restar)
zp_set_user_ammo_packs(user,user2_sumar)
->
PHP Code:
zp_set_user_ammo_packs(id,user1_ammo-ammount)
zp_set_user_ammo_packs(user,user2_ammo+ammount)
__________________