Raised This Month: $ Target: $400
 0% 

Blockmaker SteamID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 02-08-2013 , 12:25   Re: Blockmaker SteamID
Reply With Quote #1

Quote:
Originally Posted by Sylwester
What?
I guess he meant this:

Code:
new const cstSteamIds[ ][ ] = {     "STEAM_0:0:XXXXXXXXX",     "STEAM_0:1:SAISJGSA"     // ... } public function( id ) {         new szAuthid[ 36 ]     get_user_authid( id, szAuthid, charsmax( szAuthid ) )         new iResult         for( new i; i < sizeof( cstSteamIds ); i ++ )     {         if( equali( szAuthid, cstSteamIds[ i ] ) )         {             iResult = i             break         }     } }
Backstabnoob is offline
P1raten
Senior Member
Join Date: Feb 2010
Old 02-08-2013 , 12:48   Re: Blockmaker SteamID
Reply With Quote #2

Quote:
Originally Posted by Backstabnoob View Post
I guess he meant this:

Code:
new const cstSteamIds[ ][ ] = {     "STEAM_0:0:XXXXXXXXX",     "STEAM_0:1:SAISJGSA"     // ... } public function( id ) {         new szAuthid[ 36 ]     get_user_authid( id, szAuthid, charsmax( szAuthid ) )         new iResult         for( new i; i < sizeof( cstSteamIds ); i ++ )     {         if( equali( szAuthid, cstSteamIds[ i ] ) )         {             iResult = i             break         }     } }
Yup.
__________________
No salvation. Only madness.
P1raten is offline
WeeZick
Member
Join Date: Oct 2012
Location: Gothenburg, Sweden
Old 02-08-2013 , 13:26   Re: Blockmaker SteamID
Reply With Quote #3

Quote:
Originally Posted by Backstabnoob View Post
I guess he meant this:

Code:
new const cstSteamIds[ ][ ] = {     "STEAM_0:0:XXXXXXXXX",     "STEAM_0:1:SAISJGSA"     // ... } public function( id ) {         new szAuthid[ 36 ]     get_user_authid( id, szAuthid, charsmax( szAuthid ) )         new iResult         for( new i; i < sizeof( cstSteamIds ); i ++ )     {         if( equali( szAuthid, cstSteamIds[ i ] ) )         {             iResult = i             break         }     } }
But thats almost the same thing i did at the begining instead i maked an enum
WeeZick is offline
WeeZick
Member
Join Date: Oct 2012
Location: Gothenburg, Sweden
Old 02-12-2013 , 08:58   Re: Blockmaker SteamID
Reply With Quote #4

Quote:
Originally Posted by Backstabnoob View Post
I guess he meant this:

Code:
new const cstSteamIds[ ][ ] = {     "STEAM_0:0:XXXXXXXXX",     "STEAM_0:1:SAISJGSA"     // ... } public function( id ) {         new szAuthid[ 36 ]     get_user_authid( id, szAuthid, charsmax( szAuthid ) )         new iResult         for( new i; i < sizeof( cstSteamIds ); i ++ )     {         if( equali( szAuthid, cstSteamIds[ i ] ) )         {             iResult = i             break         }     } }
But if i use this it wont show up that message if the steamid is not matching?
WeeZick 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 11:11.


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