Raised This Month: $ Target: $400
 0% 

little help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 09-18-2013 , 08:04   Re: little help
Reply With Quote #3

Because szID is the string array holding the player's Steam ID. The value in your server_cmd() line should instead be get_user_userid( client ).
Also your loop should be checking size of array not size of array - 1 Otherwise it will not check the last string.

Forgot to mention that every player who joins your server is going to be kicked unless their Steam ID matches the first one in the array.

Quote:
Originally Posted by 3xit. View Post
Don't need a plugin :
He asked in Scripting Help which means he wants to learn ( to whatever extent ).
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 09-18-2013 at 08:31.
hornet 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 19:00.


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