Raised This Month: $ Target: $400
 0% 

Name contain


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 03-31-2014 , 15:46   Re: Name contain
Reply With Quote #8

Quote:
Originally Posted by YamiKaitou View Post
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
__________________
PM me for private work.



Last edited by Buckshot; 03-31-2014 at 15:55.
Buckshot is offline
Send a message via Skype™ to Buckshot
 



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


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