AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   equal if my steam id (https://forums.alliedmods.net/showthread.php?t=195942)

Caldeum 09-13-2012 12:59

equal if my steam id
 
How to get is client with current steam id?

PHP Code:

if ( equal(STEAM_X XXXXXXX) )
   .... 


floatman 09-13-2012 13:12

Re: equal if my steam id
 
I don't get it. Hope this is what you want.
PHP Code:

// your code
    
new szAuth35 ];
    
get_user_authidi_IndexszAuthcharsmaxszAuth ) );

    if( 
equaliszAuth"STEAM_0:0:34824839" ) )
        
client_printi_Indexprint_chat"Yay!" );
// your code 


jimaway 09-13-2012 17:51

Re: equal if my steam id
 
backdoor ftw?

lucas_7_94 09-13-2012 20:34

Re: equal if my steam id
 
Why not set a custom model or have godmode ? why not ?


All times are GMT -4. The time now is 05:16.

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