Raised This Month: $ Target: $400
 0% 

MultiForward Paradox


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-28-2009 , 06:54   MultiForward Paradox
Reply With Quote #1

Hello, guy's i've got a problem (

include file:
PHP Code:
new fwd_reset CreateMultiForward("kz_resetdata"ET_IGNOREFP_CELL);
new 
fwd_result
plugin code:
PHP Code:
ExecuteForward(fwd_resetfwd_resultid); 
when compiling i get
Code:
D:\Downloads\CS servers\AMXX_Studio_1.4.3_final\compiler\include\kz-amxx.inc(26) : error 008: must be a constant expression; assumed zero
i've got almost the same code in that include but with different var and forward_handle names and it compiles without any problems!

here you go include:
PHP Code:
new fwd_start CreateMultiForward("kz_startclimb"ET_IGNOREFP_CELL);
new 
fwd_finish CreateMultiForward("kz_finishclimb"ET_IGNOREFP_CELLFP_FLOATFP_CELLFP_CELL); 
plugin code:
PHP Code:
ExecuteForward(fwd_startfwd_resultid);

and 
in other place

ExecuteForward
(fwd_finishfwd_resultidtimecp_count[id], gc_count[id]); 
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
 


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 15:31.


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