[−][src]Trait samp::amx::AmxExt
Extended functional of an Amx.
Required methods
fn ident(&self) -> AmxIdent
Get an identifier of an Amx.
Example
use samp::prelude::*; #[native(name = "A")] fn native_a(&mut self, amx: &Amx) -> AmxResult<bool> { let ident = amx.ident(); // now you can use ident to get this Amx later by samp::amx::get Ok(true) }