Raised This Month: $ Target: $400
 0% 

Transfer string arguments in set_task


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-04-2009 , 09:59   Transfer string arguments in set_task
Reply With Quote #1

I wanna to execute function restore_targetname( name[1][] ) via set_task

so tryed to do it like this:
PHP Code:
new targetname[1][32]
pev(entpev_targetnametargetname[0],31)

set_task(0.1"restore_targetname"_,targetname1
But I've got compiler error: Array dimensions do not match

Note: I can't use global vars bzc task is in loop and could be executed many times in 0.1second so the var would be rewritten
Any Suggestions?

Last edited by Empowers; 04-04-2009 at 10:24.
Empowers is offline
Send a message via ICQ to Empowers
 



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:27.


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