Thread: [Solved] [ H3LP ] Natives
View Single Post
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 02-13-2018 , 07:36   [ H3LP ] Natives
Reply With Quote #1

Hello. I made a native to check if a client is burried when he types /stuck, but it doesn't seem to work.
Can anyone help me? Many thanks !

Code:
//from max_admin_bury.sp public APLRes AskPluginLoad2(Handle hSelf, bool bLate, char[] szError, int iErrMax) {     CreateNative("IsClientBuried", Native_IsBuried);         RegPluginLibrary("max_natives");         return APLRes_Success; } public int Native_IsBuried(Handle hPlugin, int iNumparams) {     int iID = GetNativeCell(1);         return g_bIsBurried[iID]; } //from max_natives.inc native bool IsClientBuried(int iID);

Last edited by DarthMan; 02-13-2018 at 17:40. Reason: Solved
DarthMan is online now