AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How i can add engine to fakemeta weapon_knife, stripper etc ? (https://forums.alliedmods.net/showthread.php?t=249333)

Kellan123 10-04-2014 07:38

How i can add engine to fakemeta weapon_knife, stripper etc ?
 
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"); 


RateX 10-04-2014 08:38

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
Are you saying you want to port the code to fakemeta?

NiHiLaNTh 10-04-2014 09:51

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
use DispatchKeyValue, there's nothing wrong with it!

HamletEagle 10-04-2014 09:59

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
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.

Kellan123 10-04-2014 12:33

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

Originally Posted by HamletEagle (Post 2206958)
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.

HamletEagle 10-04-2014 12:40

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
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.

NiHiLaNTh 10-04-2014 12:46

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
Nobody will help you here with such attitude and so dumb requests

Arkshine 10-04-2014 15:22

Re: How i can add engine to fakemeta weapon_knife, stripper etc ?
 
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.


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

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