Raised This Month: $ Target: $400
 0% 

Help with file_write


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
maakera
Member
Join Date: Jul 2009
Old 05-26-2010 , 11:38   Help with file_write
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <Core>

#define PLUGIN "Register loto"
#define VERSION "1.0"
#define AUTHOR "Ute^^"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("say /registerloto""Register")
    
// Add your code here...
}


public 
Register(id)
{
    new 
szName[33];
    
get_user_name(idszName32)
write_file("freeloto.html""<LI TYPE=square>" szName "</LI><br>", -1)
return 
PLUGIN_CONTINUE;

show that array must be indexed on line 23
__________________

maakera is offline
 


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 05:16.


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