Raised This Month: $32 Target: $400
 8% 

[Solved]Steamid Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 09-03-2013 , 15:32   [Solved]Steamid Help
Reply With Quote #1

Hello everyone,

I'm wondering if i can give special abilities(by code) to a player with the selected steamid. How can i check if a player has the selected steamid?

Thanks in advance,
Oxygen
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science

Last edited by oxygen935; 09-03-2013 at 15:47. Reason: problem solved!
oxygen935 is offline
Send a message via Skype™ to oxygen935
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 09-03-2013 , 15:40   Re: Steamid Help
Reply With Quote #2

try to check the code of a plugin already doing it, like players models.
__________________
ANTICHRISTUS is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-03-2013 , 15:41   Re: Steamid Help
Reply With Quote #3

equali() ?
__________________



dark_style is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 09-03-2013 , 15:42   Re: Steamid Help
Reply With Quote #4

Quote:
Originally Posted by dark_style View Post
equali() ?
if u want explain more...
Thanks for reply
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 09-03-2013 , 15:45   Re: Steamid Help
Reply With Quote #5

Code:
#include <amxmodx> #include <amxmisc> #define CLIENT_STEAMID "" new bool:g_haveAbility[33]; public client_putinserver(id) {     new authid[32];     get_user_authid(id, authid, charsmax(authid));         if (equal(authid, CLIENT_STEAMID))     {         g_haveAbility[id] = true;           } }
TheDS1337 is offline
oxygen935
Veteran Member
Join Date: Jun 2012
Location: Athens, Greece
Old 09-03-2013 , 15:46   Re: Steamid Help
Reply With Quote #6

Quote:
Originally Posted by DeagLe.Studio View Post
Code:
#include <amxmodx> #include <amxmisc> #define CLIENT_STEAMID "" new bool:g_haveAbility[33]; public client_putinserver(id) {     new authid[32];     get_user_authid(id, authid, charsmax(authid));         if (equal(authid, CLIENT_STEAMID))     {         g_haveAbility[id] = true;           } }
hmmm okay, thanks anyways, i think this is what i am looking for.
Problem Solved!
__________________
Quote:
Originally Posted by quark View Post
You're a genius
Stopped any pawn work cause of university for computer science
oxygen935 is offline
Send a message via Skype™ to oxygen935
Old 09-03-2013, 15:47
dark_style
This message has been deleted by dark_style.
Reply


Thread Tools
Display Modes

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 06:10.


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