Fake Natives Question [Solved]
In Hawk's Tutorial on Dynamic/Fake Natives, he provides the below example of usage.
My question is how to use the function that serves as the code for the native within this base plugin. Code:
How would I use _half_user_hp() within this plugin itself? The main question is how can I get the 'id' parameter to it from within this plugin? For example, if I wanted to make every user cut his hp in half when he spawned, Code:
|
Re: Fake Natives Question
If you want to use the fake native in the base plugin you need to include the include and use it
|
Re: Fake Natives Question
He wants to know what the params are ?! What param should be the player "index" ? If he want to half a user hp how can use that native "_half_user_hp( ??? ) "
??? - unknown params :s |
Re: Fake Natives Question
Quote:
So just #include <dyn_test> and then use half_user_hp(id) instead of _half_user_hp....wow. Thanks P34nut |
| All times are GMT -4. The time now is 01:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.