Raised This Month: $ Target: $400
 0% 

Solved Wait N amount of seconds?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
blAck.
Member
Join Date: Jun 2018
Old 08-05-2018 , 08:53   Wait N amount of seconds?
Reply With Quote #1

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "New Plug-In" #define VERSION "1.0" #define AUTHOR "author" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)         register_clcmd("say /healme", "heal"); } public heal(id) {     new iHP = get_user_health(id);     set_user_health(id, iHP + 20);     return PLUGIN_HANDLED; } // How can I make that player must wait N amount of seconds b4 using that command again? // I know it's something with set_task but can you show me how please?

Last edited by blAck.; 08-05-2018 at 10:10.
blAck. is offline
 



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 12:37.


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