Raised This Month: $32 Target: $400
 8% 

Solved [ H3LP ] Natives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode