Raised This Month: $ Target: $400
 0% 

Retrieving strings by using fake/dynamic natives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 06-22-2010 , 11:09   Re: Retrieving strings by using fake/dynamic natives
Reply With Quote #3

Quote:
Originally Posted by Kreation View Post
For one take the native_ out of the function name, I don't see why that's there.
The code would be like this:
PHP Code:
#include < amxmodx >
#include < amxmisc >
 
// ...Code
 
public plugin_natives( )
{
    
register_native"get_persons_name" "native_get_persons_name" )
}
 
// ...Code
 
public native_get_persons_nameid )
{
   
// Blah blah code i wrote

__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
 



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 14:44.


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