Raised This Month: $51 Target: $400
 12% 

[REQ] Some form of calling natives


  
 
 
Thread Tools Display Modes
Ingram
Veteran Member
Join Date: May 2004
Old 11-04-2006 , 12:22   Re: [REQ] Some form of calling natives
#11

okay... PM is much better at asking the same question
Ingram is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 11-04-2006 , 12:30   Re: [REQ] Some form of calling natives
#12

i want a callnative interface for this:

Sometimes you are in the game. Then you want to read e.g. speed. But you dont have an cmd for this. So you have to write one -> compile -> upload -> restart the server. Next time you want to change e.g. an effect. Hey you dont have an cmd for this. So you have to write one again -> compile -> upload -> restart the server...

Okay these 2 aren't the best examples, but i dont know a better example that is not mod specific.

There are 2 solutions for this problem:
Write an very big wrapper for each native
or implement something like callfunc for natives.
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-04-2006 , 12:35   Re: [REQ] Some form of calling natives
#13

Quote:
Originally Posted by PM View Post
It matters because I think that implementing weird features which you don't see any need for is not really the dev team's biggest hobby

So.. You want to make an AMX Mod X plugin.. which.. interprets AMX Mod X plugins?

Do you have any technical reason to do this or is it a "just for fun" project?
Is there any way to do it with #emit? That's the only other way I can think of doing it.

It's a 'just for fun' project, but isn't all of AMXX?
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 11-04-2006 , 12:58   Re: [REQ] Some form of calling natives
#14

hawk i thought of emit also, but the problem is that you cant use arrays to call them you have to hardcode the native names
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
BAILOPAN
Join Date: Jan 2004
Old 11-04-2006 , 13:01   Re: [REQ] Some form of calling natives
#15

greenberet: missing solution... one command to set pdata values and another to set pev values. How hard can this be if you use numbers for the pev values to avoid enum lookup?

Hawk552: Yes and no. We try to only add features that will help a user solve a specific problem. But if it's trying to solve a problem that only one person will use for one specific thing, it's not worth the time. Thus, we attempt to see the reasoning behind the request first.
__________________
egg
BAILOPAN is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 11-04-2006 , 13:05   Re: [REQ] Some form of calling natives
#16

Quote:
Originally Posted by BAILOPAN View Post
greenberet: missing solution... one command to set pdata values and another to set pev values. How hard can this be if you use numbers for the pev values to avoid enum lookup?

Hawk552: Yes and no. We try to only add features that will help a user solve a specific problem. But if it's trying to solve a problem that only one person will use for one specific thing, it's not worth the time. Thus, we attempt to see the reasoning behind the request first.
Alright, so is there any chance this will come to be?
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
BAILOPAN
Join Date: Jan 2004
Old 11-04-2006 , 13:08   Re: [REQ] Some form of calling natives
#17

Probably not. At least I don't have any plans to do it for the next release.

But I'll keep it open.
__________________
egg
BAILOPAN is offline
Obbin
Senior Member
Join Date: Mar 2005
Location: 192.168.1.3
Old 11-04-2006 , 17:36   Re: [REQ] Some form of calling natives
#18

I could sure use a function like this.
For example It's just too much trouble having a whole plugin just to get/set my origin, speed or w/e when I'm in the early stage of a plugin development.

That post may look retarded since I'm not 100% sure we are talking about the same thing
__________________
Sig(h)!

Last edited by Obbin; 11-04-2006 at 17:44. Reason: typos
Obbin is offline
 



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


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