Raised This Month: $ Target: $400
 0% 

Reading from a file


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Drak
Veteran Member
Join Date: Jul 2005
Old 02-04-2007 , 21:27   Re: Reading from a file
Reply With Quote #1

Quote:
Originally Posted by Paladinrocker View Post
I forgot another tidbit, this is the actual displaying part. It's when the player joins.

Code:
if(special_steamid(players[i]))
        {
            set_hudmessage(255, 0, 0, 0.0, 0.13, 0, 2.0, 12.0);
            show_hudmessage(players[i], "%s (%s) connected", playerName, authId);
        }
        else
        {
            set_hudmessage(0, 255, 0, 0.0, 0.13, 0, 2.0, 12.0);
            show_hudmessage(players[i], "%s (%s) connected", playerName, authId);
        }
I'm not exactly sure, but on the other function (Special_Steamid). I tryed making it return 1 or 0 but always returned zero. So that's why i used the 'valid' integer to make it return 1 or 0.
Drak is offline
Send a message via MSN to Drak
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 00:44.


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