Raised This Month: $ Target: $400
 0% 

Register...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Front Line
Senior Member
Join Date: Jan 2005
Old 07-10-2005 , 04:34   Register...
Reply With Quote #1

What would i register this as...
Code:
public plugin_init() { register_ ??? } public Rapper_Print(id) if (get_user_time(id, 100)) { client_print (id, print_chat, "Type /Rapper_help to get the menu for the Raps." ) } else if (get_user_time(id, 500)) { client_print (id, print_chat, "Type /Rapper_help to get the menu for the Raps." ) }   else if (get_user_time(id, 1000)) { client_print (id, print_chat, "Type /Rapper_help to get the menu for the Raps." ) }   else if (get_user_time(id, 2000)) { client_print (id, print_chat, "Type /Rapper_help to get the menu for the Raps." ) }   else if (get_user_time(id, 10000)) { client_print (id, print_chat, "Type /Rapper_help to get the menu for the Raps." ) } return PLUGIN_CONTINUE }

Thanks in Advance...

I thought originally
register_message("???", "Rapper_Print")
aint sure thou

asoon as i find what to register it as i'm scot free.
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
One shot dont miss!
Senior Member
Join Date: Jun 2005
Old 07-10-2005 , 04:44  
Reply With Quote #2

register as a say cmd no clue lol sry for nothin
__________________
One shot dont miss! is offline
Front Line
Senior Member
Join Date: Jan 2005
Old 07-10-2005 , 04:47  
Reply With Quote #3

...how is it a command when its been shown
afta a certain time...

CMD stands for COMMAND
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-11-2005 , 23:51  
Reply With Quote #4

try cl_cmd
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
Platnum
Member
Join Date: May 2005
Old 07-12-2005 , 00:07  
Reply With Quote #5

Do you NEED to register it? Can't you just set a task in plugin_init() to call the function every second or so?
Platnum is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 07-12-2005 , 02:26  
Reply With Quote #6

why dont you just loop
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Front Line
Senior Member
Join Date: Jan 2005
Old 07-12-2005 , 02:28  
Reply With Quote #7

soryr i shoulda told u PM msged me

set_task etc...

all done thanks anyway guys.
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
Reply



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 00:22.


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