Raised This Month: $ Target: $400
 0% 

script problem, help please?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
piMpiN
Junior Member
Join Date: Sep 2005
Old 09-23-2007 , 00:56   script problem, help please?
Reply With Quote #1

Hey guys, I'm new to scripting and I thought I'd start off really easy but I guess I went the wrong way when creating this plugin?

I'm making a plugin to display a msg every couple of minutes or so, it's just not working. Help please!


/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Ads"
#define VERSION "1.0"
#define AUTHOR "nuki"

public plugin_init()
register_plugin(PLUGIN, VERSION, AUTHOR)

public client_authorized(id)
{
set_task(400.0, "PrintText", id = "0", repeat = "b")
}
public PrintText(id)
{
client_print(id, print_chat, "Message that will be displayed")
}

Thanks
piMpiN 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 16:11.


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