Raised This Month: $ Target: $400
 0% 

cmd_target(id, arg, 3)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 09-24-2007 , 18:22   cmd_target(id, arg, 3)
Reply With Quote #1

im trying to slap myself

i have immunity

cmd_target(id, arg, 3) (the flag 3)

can slap myself


cmd_target(id, arg, 7) (the flag 7)

cannot slap myself




cmd_target - Locates a player id by specific parameters.
Syntax:
cmd_target ( id, const arg[], flags = 1 )
Type:
Stock
Notes:
id is the player who called the command.
arg is the argument the player input.

Flags:
1 - obey immunity
2 - allow yourself
4 - must be alive
8 - can't be bot




by adding the must be alive flag, i cant slap myself with immunity while without the must be alive flag i can slap myself with immunity



is this a bug?
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow is offline
Old 09-24-2007, 19:37
ConnorMcLeod
This message has been deleted by ConnorMcLeod.
potatis_invalido
BANNED
Join Date: Jul 2007
Location: 0 (world)
Old 09-24-2007 , 19:57   Re: cmd_target(id, arg, 3)
Reply With Quote #3

I'll try this tomorrow, and see if it is the same for me. Now I must sleep.
potatis_invalido is offline
Roach
Writes love letters to sawce Daily
Join Date: Jul 2006
Location: Internet
Old 09-25-2007 , 10:28   Re: cmd_target(id, arg, 3)
Reply With Quote #4

Which version of amxx are you using?
__________________
Quote:
Originally Posted by Brad View Post
That sounds like a really good idea!
Now replace the word "good" with "dumb".
What was your rationale for proposing such a thing?
Roach is offline
Reply



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 07:58.


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