View Single Post
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-25-2006 , 20:31   Re: Plugin API
Reply With Quote #7

Quote:
Originally Posted by nver_been_hit View Post
OMG did you just diss VEN ? lol. Hey hawk , I was wondering can the natives be used to return wether a plugin is on or off and if it could return cvars as values ? And So i should use the API in my core plugin to comunicate with the other supporting plugins? then have the supporting plugins use natives ?
No, I did not insult VEN, in fact that was more of a compliment.

Why not just use a name for a cvar and then a stock to check whether it's on or off? I suppose you could make a native that other plugins can use to check if your plugin is off, but if it has a cvar it's really better to avoid API / native functions.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552