Raised This Month: $ Target: $400
 0% 

New AMXX Menu System


Post New Thread Reply   
 
Thread Tools Display Modes
liryck
Senior Member
Join Date: Mar 2007
Location: Venezuela
Old 03-19-2010 , 17:44   Re: New AMXX Menu System
Reply With Quote #201

when u mean id is something like set_task(120.0,"gen",5) & remove_task(5)? tell me if i should open another threat to no divert this threat
liryck is offline
Send a message via MSN to liryck
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-19-2010 , 17:44   Re: New AMXX Menu System
Reply With Quote #202

Quote:
Originally Posted by liryck View Post
when u mean id is something like set_task(120.0,"gen",5) & remove_task(5)?
Yep.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-19-2010 , 18:53   Re: New AMXX Menu System
Reply With Quote #203

Seems he already started another thread to discuss this.
As I said there, no need to remove tasks that run only once.

Last edited by Seta00; 03-19-2010 at 19:27.
Seta00 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-19-2010 , 19:04   Re: New AMXX Menu System
Reply With Quote #204

Quote:
Originally Posted by Seta00 View Post
Seems he already started another threa[b]d[/d] to discuss this.
As I said there, no need to remove tasks that run only once.
Unless they haven't done anything yet and you want it to stay that way.
__________________
fysiks is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-19-2010 , 19:29   Re: New AMXX Menu System
Reply With Quote #205

Quote:
Originally Posted by fysiks View Post
Unless they haven't done anything yet and you want it to stay that way.
You're right, I've forgot this case. My programming skills are constantly getting lower during the week, due to lack of sleep.
Seta00 is offline
Asplii
Member
Join Date: Mar 2009
Location: Namsos, Norway
Old 04-25-2010 , 06:03   Re: New AMXX Menu System
Reply With Quote #206

How can i disable a player or players from the player menu?

Eg: if i want to give 150hp only to players who is alive, then will all the players who is dead be a disabled line on the menu.
__________________
Code:
public 300
Asplii is offline
Send a message via MSN to Asplii
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-25-2010 , 13:17   Re: New AMXX Menu System
Reply With Quote #207

Quote:
Originally Posted by Asplii View Post
How can i disable a player or players from the player menu?

Eg: if i want to give 150hp only to players who is alive, then will all the players who is dead be a disabled line on the menu.
Are you asking how to only show the player in the menu that are alive?

You just need to check if they are alive. If they are alive add them too the menu. Then, you also need to check if they are still alive when you go to give the health.
__________________
fysiks is offline
Asplii
Member
Join Date: Mar 2009
Location: Namsos, Norway
Old 04-25-2010 , 13:35   Re: New AMXX Menu System
Reply With Quote #208

I want to show all the players who is connected in the menu. But those who are dead, is disabled ( \d ) and those who are alive can i give example hp to.

Can you pls show me example? I've tried but i didnt get to work.
__________________
Code:
public 300
Asplii is offline
Send a message via MSN to Asplii
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-25-2010 , 14:51   Re: New AMXX Menu System
Reply With Quote #209

Quote:
Originally Posted by Asplii View Post
I want to show all the players who is connected in the menu. But those who are dead, is disabled ( \d ) and those who are alive can i give example hp to.

Can you pls show me example? I've tried but i didnt get to work.
You do it using callbacks:
http://forums.alliedmods.net/showpos...0&postcount=95
__________________
fysiks is offline
Asplii
Member
Join Date: Mar 2009
Location: Namsos, Norway
Old 04-25-2010 , 16:39   Re: New AMXX Menu System
Reply With Quote #210

I didnt now the callback workt on the player men lol.
Thank you
__________________
Code:
public 300
Asplii is offline
Send a message via MSN to Asplii
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 02:07.


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