Raised This Month: $ Target: $400
 0% 

format/ex question/help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
da_ciouzan_oan
Junior Member
Join Date: Jun 2010
Old 11-10-2011 , 16:24   Re: format/ex question/help
Reply With Quote #7

Uhm.. my script test compiled, I guess smthing it's wrong with my variable (still don't know what).
Buuuut.. still doesn't works, now I get a runtime error in the test script.

Code:
public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd("say", "_formatexTest") } public _formatexTest(id) {     static command[64], msg[64], msg1[32], msg2[32], msg0[192]     read_args(command, charsmax(command))     remove_quotes(command)         formatex(msg, charsmax(msg), "%s is now %s.")     formatex(msg1, charsmax(msg1), "Lul")     formatex(msg2, charsmax(msg2), "Woot")          if(equali(command, "formatex"))     {         formatex(msg0, charsmax(msg0), msg, msg1, msg2)         client_print(0, print_chat, msg0)     } }
L 11/10/2011 - 23:21:07: String formatted incorrectly - parameter 4 (total 3)
L 11/10/2011 - 23:21:07: [AMXX] Run time error 25 (plugin "formatex_test.amxx") - debug not enabled!

Last edited by da_ciouzan_oan; 11-10-2011 at 16:25.
da_ciouzan_oan 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 14:22.


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