Raised This Month: $ Target: $400
 0% 

Question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 09-24-2020 , 00:18   Re: Question
Reply With Quote #6

Quote:
Originally Posted by nacho312 View Post
Ah, thank you ,and there is no other way by registring native on goldenak's sma ? I want to add this item in another menu.
For using this native on any plugin just add this code in global var "native get_user_goldak(id)"
Code:
#define is_valid_connected(%1) (1 <= %1 <= get_maxplayers()) public plugin_natives() {     register_native("get_user_goldak","native_get_user_goldak") } public native_get_user_goldak() {     new index = read_data(1)     if(!is_valid_connected(index))     return 0;         engclient_cmd(index, "weapon_ak47");     g_HasAk[index] = true     checkModel(index);         return 1;     }
__________________
Youtube.com/Supremache

Bank System [Nvault - SQL Support]
VIP System
  • If you think it's that simple, then do it yourself.

Last edited by Supremache; 09-24-2020 at 00:22.
Supremache is offline
 



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 13:45.


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