Raised This Month: $ Target: $400
 0% 

block function after x time


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Monster Truck
Member
Join Date: Jan 2012
Location: France
Old 07-23-2014 , 19:45   block function after x time
Reply With Quote #1

Hi, i think it's basic pawn scripting, but i really forgot how to do this.

I made a plugin that displays a menu when someone says "/gun".
I want that the clients can't open the menu by saying "/gun" after X (variable) sec after the beginning of the round (before freezetime), and then, it prints to all (id = 0) : Time is Up, /gun won't work anymore!
I serched a bit in amx mod x documentation but didn't find an event or somethin that can do this.

Anyone for help ? Thank you.
Monster Truck is offline
 


Thread Tools
Display Modes

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 13:01.


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