ID
On every plugin I see that codes etc. get_user_gravity(id), how does it know which player to pick?
|
Re: ID
Either the forward passes a player into the id parameter, an id is read from existing data, or a player is selected and put into the variable. Some other method could be used also.
It doesn't just "know" which player. I suggest you read https://forums.alliedmods.net/showthread.php?t=94381 |
Re: ID
See I'm not a good scripter and I'm learning and English is not my native language, so it makes me hard to understand things in here, and about ID in that thread I didn't find a good explanation...
|
Re: ID
Quote:
Take a look at this: http://wiki.amxmodx.org/Pawn_Tutorial |
Re: ID
Quote:
|
Re: ID
Oh now i get it :D
|
| All times are GMT -4. The time now is 14:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.