What do you want to do ? you don't explain what is that variable so it sounds a bit like a
XY Problem
Anyway, correct code is (and, DO USE HAM RETURNS CONTANTS) :
PHP Code:
#include <amxmodx>
#include <hamsandwich>
new bool:something[33] = true;
public plugin_init() {
RegisterHam(Ham_Use, "func_vehicle", "BlockPojazd");
RegisterHam(Ham_Use, "func_vehiclecontrol", "BlockPojazd");
}
public BlockPojazd(ent, id, activator, iType, Float:fValue)
{
if( id != activator && something[id] && is_user_alive(id) )
{
return HAM_SUPERCEDE;
}
return HAM_IGNORED;
}
__________________