Raised This Month: $ Target: $400
 0% 

remove task with get_gametime


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 05-24-2013 , 20:12   Re: remove task with get_gametime
Reply With Quote #1

You need to save the game time when the potion is bought for each player, then compare that with the current game time. Also, instead of removing the task, you should have a check if it has not been 20 seconds, and set the task there. (if -> set_task) instead of (set_task, if -> remove_task)
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
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 16:19.


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