Raised This Month: $ Target: $400
 0% 

SetHamParamFloat ~ Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 07-28-2011 , 08:21   SetHamParamFloat ~ Problem
Reply With Quote #1

Error:
Code:
L 07/28/2011 - 12:08:36: [HAMSANDWICH] Wrong data type (data is of type vector)
L 07/28/2011 - 12:08:36: [AMXX] Displaying debug trace (plugin "LR-Boxing.amxx")
L 07/28/2011 - 12:08:36: [AMXX] Run time error 10: native error (native "SetHamParamFloat")
L 07/28/2011 - 12:08:36: [AMXX]    [0] LR-Boxing.sma::Forward_TraceAttack (line 182)
Code:
PHP Code:
public Forward_TraceAttack(victimattackerFloat:damageFloat:dir[3], trdamage_type) {
   
// Code
    
        
SetHamParamFloat(4damage get_pcvar_float(cDamage))
    }

Problem:
Code:
First I had Ham_TakeDamage, but I had to change..
Now with TraceAttack it gives error in SetHamParamFloat, 
I never had the problem with Ham_TakeDamage
Can someone help whats wrong or so?

Thanks
__________________
Retired.
Xalus 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 01:11.


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