Quote:
Originally Posted by Natsheh
Simply use amx latest stable version and its 182.
|
Um, no.
I'm too lazy to download 5154 right now, but you can test this simple code and see if the same error pops up:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <fun>
#include <hamsandwich>
public plugin_init()
{
register_plugin("PluginName", "1.0", "OciXCrom")
RegisterHam(Ham_Spawn, "player", "OnPlayerSpawn", 1)
}
public OnPlayerSpawn(id)
{
if(is_user_alive(id))
{
give_item(id, "weapon_usp")
cs_set_user_bpammo(id, CSW_USP, 100)
}
}
If it does and you're sure you didn't modify any of your default AMXX files, then it's a bug with the dev version that must be fixed immediately.
__________________