Raised This Month: $ Target: $400
 0% 

Question about Execute_Forward


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
csoldjb
Member
Join Date: Dec 2010
Old 05-11-2011 , 09:34   Question about Execute_Forward
Reply With Quote #1

Sorry for my bad English

In my main plugin
(plugin_init)
g_fwString = CreateMultiForward("test_get_string",ET_IGNOR E,FP_CELL,FP_STRING)

and I use it like this:
new ret
new sz[128]
ExecuteForward(g_fwString,ret,id,sz)
client_print(1,print_chat,"[Test] [ExeForward] [GetString:%s]",sz)

And in my sub plugin:
public test_get_string(id,sz[])
{
copy(sz,charsmax(sz),"TestText")
}

Here is the question: I can't get the proper text "TestText",
The plugin print this" [Test] [ExeForward] [GetString:]"

so how to correct this error?
Thank you
csoldjb 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 04:17.


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