Raised This Month: $ Target: $400
 0% 

Show message every 5 seconds...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
indraraj striker
Veteran Member
Join Date: Mar 2014
Location: Under the water
Old 05-11-2015 , 03:58   Re: Show message every 5 seconds...
Reply With Quote #6

here you go:
PHP Code:
#include <amxmodx>

public client_putinserver(id)
{
set_task(5.0,"Show_message_in_every_5_sec",id,_,_,"b");
}

/* Calls function on specified time.
* Flags:
* "a" - repeat.
* "b" - loop task.
* "c" - do task on time after a map timeleft.
* "d" - do task on time before a map timelimit. 
native set_task(Float:time,const function[],id = 0,const parameter[]="",len = 0,const flags[]="", repeat = 0);
*/

public Show_message_in_every_5_sec(id)
{
    
client_print(id,print_chat,"Welcome to the alliedmodders")

__________________
Thanks everyone. #miss_you_all
indraraj striker 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 20:06.


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