View Single Post
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgium
Old 05-01-2012 , 04:45   Re: [REQ] Restrict zones in map
Reply With Quote #3

wow nice, didnt knew there was already a plugin like this
ty csykosoma, I hope I can change it to my needs .
are 3 zones the max you can set up? or is there no limit?

EDIT:
I have take a look at it i the only thing i need so that i can set it to my needs is an include,
I just made this include, could anyone tell me if this is correct?

the point of the include is to remember when a first plugin has done something that needs to enable an action inside another plugin. 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

Last edited by striker07; 05-01-2012 at 05:17.
striker07 is offline