Raised This Month: $ Target: $400
 0% 

How i can add engine to fakemeta weapon_knife, stripper etc ?


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 10-04-2014 , 07:38   How i can add engine to fakemeta weapon_knife, stripper etc ?
#1

How i can add engine to fakemeta weapon_knife, stripper etc ?

PHP Code:
DispatchKeyValue(ent"weapon_knife""1");
DispatchKeyValue(ent"stripper""0");
DispatchKeyValue(ent"equipment""0.5");
DispatchKeyValue(ent"buying""3"); 

Last edited by Kellan123; 10-04-2014 at 07:38.
Kellan123 is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 10-04-2014 , 08:38   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#2

Are you saying you want to port the code to fakemeta?
RateX is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-04-2014 , 09:51   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#3

use DispatchKeyValue, there's nothing wrong with it!
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-04-2014 , 09:59   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#4

When peoples will stop trying to port everything from engine to fakemeta ? Engine has no problem, his functions are more readable, take less time to execute. I'm not saying that fakemeta is a bad way, we had this discussion before too may times: https://forums.alliedmods.net/showthread.php?t=248759. A moderator please lock this heard.
__________________

Last edited by HamletEagle; 10-04-2014 at 09:59.
HamletEagle is offline
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 10-04-2014 , 12:33   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#5

Quote:
Originally Posted by HamletEagle View Post
When peoples will stop trying to port everything from engine to fakemeta ? Engine has no problem, his functions are more readable, take less time to execute. I'm not saying that fakemeta is a bad way, we had this discussion before too may times: https://forums.alliedmods.net/showthread.php?t=248759. A moderator please lock this heard.
some people like fakemeta, so stop posting this shit here HamletEagle.
Kellan123 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-04-2014 , 12:40   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#6

If you like it, this doesn't mean that you have to convert engine to fakemeta. There is no reason for this, engine is a very good module too.
__________________
HamletEagle is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-04-2014 , 12:46   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#7

Nobody will help you here with such attitude and so dumb requests
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-04-2014 , 15:22   Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
#8

As it has been said, current code is fine. There is no reason to convert. Actually that would be a bad idea, this will require at least x5 more natives calls, meaning with your code: engine -> 4 natives calls, fakemeta 4 * 5 = 20 natives calls. This doesn't make sense really to use fakemeta.

I'm closing this as this is another thread where OP wants to convert code engine -> fakemeta because he thinks it's better or similar even though he has no idea what he's saying.
__________________

Last edited by Arkshine; 10-04-2014 at 15:23.
Arkshine is offline
Closed Thread



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:30.


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