Raised This Month: $ Target: $400
 0% 

[TUT] Dynamic / Fake Natives


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
t3hNox
Senior Member
Join Date: Oct 2009
Old 06-29-2012 , 14:46   Re: [TUT] Dynamic / Fake Natives
Reply With Quote #34

Check "core program".
You use iParamID incorrectly. iParamID returns the total amount of parameters passed to the native. For example, for bkf_setFrags you should pass 3 parameters and thus in native handle you should check whether iParamID is 3 (to avoid possibility that too many or not enough parameters are provided) and get the first parameter by using get_param(1) (id), get_param(2) (level), get_param(3, szReason, charsmax(szReason)) (reason). I'm also not sure if you can specify "a default" value for reasons.
t3hNox 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 02:35.


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