25/02/2019, 10:08 PM
Tengo un problema de mi Zombie Escape que cuando compilo dice
Y el codigo es
Alguien me ayuda?
Código PHP:
Error: Number of arguments does not match definition on line 8621
Y el codigo es
Código PHP:
buy_primary_weapon(id, selection)
{
// Drop previous weapons
drop_weapons(id, 1)
drop_weapons(id, 2)
// Strip off from weapons
fm_strip_user_weapons(id)
fm_give_item(id, "weapon_knife")
// Get weapon's id and name
static weaponid, wname[32]
weaponid = ArrayGetCell(g_primary_weaponids, selection)
ArrayGetString(g_primary_items, selection, wname, charsmax(wname))
// Give the new weapon and full ammo
fm_give_item(id, wname)
ExecuteHamB(Ham_GiveAmmo, id, MAXBPAMMO[weaponid], AMMOTYPE[weaponid], MAXBPAMMO[weaponid])
// Weapons bought
g_canbuy[id] = 1
// Give additional items
grenade(id)
}
Alguien me ayuda?