26/04/2023, 04:32 PM
Me gustaría cambiarlo por Reapi ^^
Código PHP:
FM_UpdateClientData, "fw_updateclientdata", 1);
public fw_updateclientdata(id, sw, cd_handle) {
if(user_has_pbgun(id) && cd_handle)
{
set_cd(cd_handle, CD_ID, 1);
get_cd(cd_handle, CD_flNextAttack, nextattack[id]);
return FMRES_HANDLED;
}
return FMRES_IGNORED;
}
Código PHP:
/**
* Returns a integer type value from the server globals.
*
* @note For a list of valid integer type entries, see the GL_* constants in
* engine_const.inc under the "Int" section.
*
* @param variable Entry to retrieve from
*
* @return Value of specified entry
* @error If an invalid entry is provided, an error will be thrown.
*/
native get_global_int(variable);