Raised This Month: $ Target: $400
 0% 

[SOLVED] Perform role-specific order?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 09-24-2015 , 18:36   Re: [HELP] Perform role-specific order?
Reply With Quote #1

Sorry, I didn't fully read your post. Untested.
PHP Code:
#include < amxmodx >

new iMsgIndex;

new 
messages[][] =
{
    
"[ZP] Test 1",
    
"[ZP] Test 2",
    
"[ZP] Test 3"
}

public 
plugin_init()
{
    
iMsgIndex 0;
    
set_task(2.0"show_message" , .flags="a" , .repeat=sizeofmessages ) );
}

public 
show_message()
{
    
client_print(0print_chatmessagesiMsgIndex++ ] );

__________________

Last edited by Bugsy; 09-24-2015 at 19:08.
Bugsy 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 22:18.


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