Raised This Month: $ Target: $400
 0% 

[HELP] Native mismatch problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kapitana
Member
Join Date: Apr 2014
Old 05-17-2016 , 12:27   [HELP] Native mismatch problem
Reply With Quote #1

Hello AlliedModders,
I am experiencing a problem with one of my codes .. which I thought would work properly .. but I get a mismatch problem when I compile .. if someone has a solution for it .. pls share. Thnx in advance .

Code:
new Float:new_health[33]

In public plugin_natives():
register_native("get_user_new_health", "native_get_user_new_health", 1)

// Native: get_user_new_health
public native_get_user_new_health(id)
{
return new_health[id]
} // - I get a mismatch problem on this line and i thought that it might be because its registered as Float ... but i couldn't think of anything else to solve this problem. If anyone knows how to fix this problem .. pls share.
kapitana 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 18:44.


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