Need Methods,Natives and Functions
Hey there,
I have made a plugin for my server,I want to know the following: How to stop "giving money on each round"? //I don't wan't to give clients money on each round How to stop "Picking up ground weapons"? //In few maps,Weapons are on ground,I don't want any client to pickup weapons from ground I want these two things to complete my plugin,Help me on these specially the first one. Thanks in Advance!. |
Re: Need Methods,Natives and Functions
you want to stop by a command?
|
Re: Need Methods,Natives and Functions
Quote:
|
Re: Need Methods,Natives and Functions
umm,I don't know how to configure it,Sorry!
I think to register,I will be using PHP Code:
PHP Code:
If I am wrong then correct me. Tell me code please,In note above these constants,It was return that the will need something "pev" ? O_O |
Re: Need Methods,Natives and Functions
PHP Code:
Weapons, dropped by players are "weaponbox" and "weapon_shield" (for the shield). Function is the name of the function, that will be called. (the name can not contain the ' character) As you can see, the called function have 2 parameters - "this" is the touched entity (i.e. the id of the weapon entity), "idother" is the toucher entity (we will use it as id of player, that touches the weapon). So the function can be made like this: PHP Code:
PHP Code:
|
Re: Need Methods,Natives and Functions
PHP Code:
|
| All times are GMT -4. The time now is 06:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.