I just made this include, could anyone tell me if this is correct for what i want to do?
the point of the include is to remember when a first plugin has done something that needs to enable an action inside another plugin. So that they can work/interact on each other, will this work?
PHP Code:
#if defined _jbrebel_included
#endinput
#endif
#define _jbrebel_included
/**
* Returns whether a player is a rebel or not.
*
* @param id Player index.
* @return True if he is, false otherwise.
*/
native is_user_rebel(id)
/**
* Set's a players status to rebel.
*
* @param id Player index.
* @return True on success, false otherwise.
*/
native set_user_rebel(id)
/**
* Removes a player's rebelstatus.
*
* @param id Player index.
* @return True on success, false otherwise.
*/
native remove_user_rebel(id)