get player specific id's
I need a way to get a players specific ID. would their be a native for it or would it be a couple commands formed together to get it?
|
Re: get player specific id's
Their userid (ie: kick #123), their steamid (ie: STEAM_0:1:123456), their player index (1-32) from their name, or something else? You need to be a little bit more clear please.
|
Re: get player specific id's
player index. im trying to gain each players specific index this way when they type a command for a client command it only acts for them. Lemme add my coding this way i can explain it better. Where i need the help is in the Antidote section where it only works for CT Team Members. And only the specific player who calls upon it.
|
Re: get player specific id's
Code:
|
Re: get player specific id's
Code:
|
Re: get player specific id's
would that be using it correctly?
|
Re: get player specific id's
No.
Did you never ask yourself why you have this "(id)" behind your public Function? For example, if a Player says the Command to call that Function, the "(id)" means: "Create a new variable called "id"". Would be the same as "new id". But: The variable is created in a special way: In brackets behind the Function. This tells AMXX: In this Variable write the Data that comes with the fact, that a Player used this Command: His ID. This ID goes from 1 to 32. So, do not use userid. Use id. These public Functions can have Tons of Parameters behind them in Brackets! Also, you can call a Function inside a Function. Code:
|
Re: get player specific id's
Iight Thanks Man.
|
| All times are GMT -4. The time now is 04:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.