[HELP] Fast, please. How to get player id?
PHP Code:
If i put ID in there, i get ID=0 Which is not right. Now, resultado[1] is user's name...so is there any way i can get user id from user's name? |
Re: [HELP] Fast, please. How to get player id?
|
Re: [HELP] Fast, please. How to get player id?
Quote:
|
Re: [HELP] Fast, please. How to get player id?
|
Re: [HELP] Fast, please. How to get player id?
Written by |PJ| Shorty
PHP Code:
|
Re: [HELP] Fast, please. How to get player id?
PHP Code:
|
Re: [HELP] Fast, please. How to get player id?
Before addressing that, you need to look at your 2 functions that are called with set_task: func_get_punkte and func_get_vip
Neither of these functions are passed a players ID so there is no way to pass a player id to the SQL handler. You are also using the same task id for both tasks. Make them different, 54564 and 54565 would work. |
Re: [HELP] Fast, please. How to get player id?
Wait, so there is no way to pass player's ID to SQL handler?
I am new at Pawn...ive programmed VB, PHP, Delphi...but this Pawn...it's killin me. |
Re: [HELP] Fast, please. How to get player id?
I'm not 100% sure of the logic behind your plugin but to get which player is VIP you can use the below. You will need to include cstrike module.
PHP Code:
|
Re: [HELP] Fast, please. How to get player id?
sure it is possible
PHP Code:
|
| All times are GMT -4. The time now is 02:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.