Raised This Month: $ Target: $400
 0% 

Help edit ad_manager.amxx (make advertise only for dead and spec)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-17-2011 , 23:31   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #1

who told you to use "id"????? Nobody. Use his code as is.
__________________
fysiks is offline
gamer99
Senior Member
Join Date: Jul 2011
Old 07-18-2011 , 00:31   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #2

Mofforg if you are not sure what your doing whats the harm in listening to experienced coder like fysiks and hornet .Do not think that ID is there by default in any fucntion .
gamer99 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-18-2011 , 00:56   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #3

Just add flag "d" in get_players flags ;)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Mofforg
Senior Member
Join Date: Aug 2010
Location: Moscow, Russia
Old 07-18-2011 , 08:58   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #4

Quote:
Originally Posted by fysiks View Post
who told you to use "id"????? Nobody. Use his code as is.
o_O

Only now i see the change in his code. He had edited the message after. I copy from his code.

Last edited by Mofforg; 07-18-2011 at 09:00.
Mofforg is offline
Send a message via ICQ to Mofforg Send a message via Skype™ to Mofforg
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-18-2011 , 14:56   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #5

Quote:
Originally Posted by Mofforg View Post
o_O

Only now i see the change in his code. He had edited the message after. I copy from his code.
My bad, i meant flag "b" (= only dead people) :

get_players(plist, playernum, "c")

->

get_players(plist, playernum, "bc")

That's all you have to edit.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 07-18-2011 , 15:02   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
My bad, i meant flag "b" (= only dead people) :

get_players(plist, playernum, "c")

->

get_players(plist, playernum, "bc")

That's all you have to edit.
What does c = ?

Also how do you know what each one equals. Can you tell me where to go look at?
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-18-2011 , 15:08   Re: Help edit ad_manager.amxx (make advertise only for dead and spec)
Reply With Quote #7

Quote:
Originally Posted by deadman909 View Post
What does c = ?

Also how do you know what each one equals. Can you tell me where to go look at?
http://www.amxmodx.org/funcwiki.php however, not all functions are there so you should also consult the include files.
__________________
fysiks 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 00:52.


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