Raised This Month: $ Target: $400
 0% 

[HELP] Better description of some natives


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-05-2017 , 08:33   Re: [HELP] Better description of some natives
Reply With Quote #1

Quote:
Originally Posted by Depresie View Post
Any idea how you write this without a stock ?

PHP Code:
public function(index)
{
      new 
iWeaponEntity fm_find_ent_by_owner(entityszclassnameowner)
}

stock fm_find_ent_by_owner(entity, const classname[], owner)
{
    while ((
entity engfunc(EngFunc_FindEntityByStringentity"classname"classname)) && pev(entitypev_owner) != owner) { /* keep looping */ }
    return 
entity;

Something like

PHP Code:
public function(index)
{
    new 
iWeaponEntity ???
    ???
    ???
    

And could someone explain to me better how it works ?

No 💡
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode