Raised This Month: $ Target: $400
 0% 

global var ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 01-10-2009 , 00:44   Re: global var ?
Reply With Quote #4

PHP Code:
#include <amxmodx>
#include <amxmisc>

new Float:Gtime 10;
new 
GTMSEC 1;
public 
plugin_init()
{
    
set_task(Gtime ,"HelloMSG")
}
public 
HelloMSG()
{
    
server_cmd("amx_say Hi , Welcome to my server .")
    if( ++
GTMSEC )
        
Gtime 300.0;
    
set_task(Gtime ,"HelloMSG")

Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 



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 09:10.


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