Raised This Month: $ Target: $400
 0% 

Show message to dead people


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 11-16-2007 , 13:45   Re: Show message to dead people
Reply With Quote #7

This method avoids get_players() - a native which many avoid since it reduces readability.

Code:
maxPlayers = get_maxplayers(); for(new i = 1; i <= maxPlayers; i++) {     if(is_user_alive(i))     {         continue;     }     set_hudmessage();     show_hudmessage(i, "You happen to be dead. :("); }
Lee 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 01:18.


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