Raised This Month: $ Target: $400
 0% 

Move player to spectator.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 12-04-2007 , 10:02   Re: Move player to spectator.
Reply With Quote #10

Quote:
Originally Posted by Wilson [29th ID] View Post
The only time I've ever needed to get a username's userid, I used:

new id = get_user_index(szUsername);
No you haven't. get_user_userid() returns a player's UserID (e.g. #325) and get_user_index() returns a player index (i.e. 1-32).
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 16:15.


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