Macro samp_sdk::args_count
[−]
[src]
macro_rules! args_count { ($params:ident) => { ... }; }
Get count of passed arguments in a native.
Examples
fn native(&self, _amx: &AMX, params: *mut Cell) -> AmxResult<Cell> { let count = args_count!(params); log!("Args count: {}", count); }