Quote:
Originally Posted by YamiKaitou
Code:
/* Flags:
* 1 - obey immunity
* 2 - allow yourself
* 4 - must be alive
* 8 - can't be bot */
#define CMDTARGET_OBEY_IMMUNITY (1<<0)
#define CMDTARGET_ALLOW_SELF (1<<1)
#define CMDTARGET_ONLY_ALIVE (1<<2)
#define CMDTARGET_NO_BOTS (1<<3)
stock cmd_target(id,const arg[],flags = CMDTARGET_OBEY_IMMUNITY)
Are you perhaps using it on yourself or using it on someone with immunity?
|
I am trying it out with bots currently. Don't got those people who will come to my server whenever i need them to, and test stuff out with me. The bots haven't been given any immunity either... I find this strange because i can't really see any errors in the code myself, but it doesn't work correctly still.. Usually i find whatever the problem is, even if it is a big code.. I should be able to find it in a code which is as small as this
__________________