Raised This Month: $ Target: $400
 0% 

if player have different steam id


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tonda
Senior Member
Join Date: Aug 2009
Old 04-23-2011 , 04:00   if player have different steam id
Reply With Quote #1

Hi, i need this:

one player steam id != next player steam id

How can i use this?

Why? because sometimes have player crash PC and if he come to the server, he have fake client on server with same nickname and mine server control with this dont work.

Thx
Tonda is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 04-23-2011 , 04:13   Re: if player have different steam id
Reply With Quote #2

PHP Code:
new szSteamID1[33], szSteamID2[33]
get_user_auth(idszSteamID132)
get_user_auth(targetszSteamID232)
if( !
equali(szSteamID1szSteamID2) ) 

Last edited by reinert; 04-23-2011 at 12:26.
reinert is offline
Tonda
Senior Member
Join Date: Aug 2009
Old 04-23-2011 , 07:03   Re: if player have different steam id
Reply With Quote #3

compile error, this dont work :-/
Tonda is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 04-23-2011 , 07:26   Re: if player have different steam id
Reply With Quote #4

What it says ?
reinert is offline
Tonda
Senior Member
Join Date: Aug 2009
Old 04-23-2011 , 07:37   Re: if player have different steam id
Reply With Quote #5

this is good?

PHP Code:
new szSteamId35 ]  
get_user_authididszSteamId34 );

if (
szSteamId[iPlayer] != szSteamId[id])
{

Tonda is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 04-23-2011 , 07:41   Re: if player have different steam id
Reply With Quote #6

yes, but where u hook / define iPlayer and id ?
reinert is offline
Tonda
Senior Member
Join Date: Aug 2009
Old 04-23-2011 , 07:43   Re: if player have different steam id
Reply With Quote #7

PHP Code:
for(new iPlayer=1iPlayer<=g_iMaxPlayersiPlayer++)
    { 
and what is better way?

get_user_userid

or

get_user_authid

?
Tonda is offline
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 04-23-2011 , 08:43   Re: if player have different steam id
Reply With Quote #8

userid
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons is offline
reinert
Veteran Member
Join Date: Feb 2007
Old 04-23-2011 , 08:55   Re: if player have different steam id
Reply With Quote #9

It depends what are you trying to do.
reinert is offline
Tonda
Senior Member
Join Date: Aug 2009
Old 04-23-2011 , 09:17   Re: if player have different steam id
Reply With Quote #10

Quote:
Originally Posted by reinert View Post
It depends what are you trying to do.
need condition: first player isnt second player
Tonda 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 20:12.


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