Raised This Month: $ Target: $400
 0% 

[SOLVED] Perform role-specific order?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-24-2015 , 22:53   Re: [HELP] Perform role-specific order?
Reply With Quote #1

So, the code you posted will show a message every 2 seconds . . that is very quick.

Anyways, to make the messages go in order, you just need to add a global variable and then in the show_message() do:

Code:
global_variable = global_variable % sizeof(messages)
and use global_variable to index your messages array in the client_print() function.
__________________

Last edited by fysiks; 09-24-2015 at 22:58.
fysiks 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