Raised This Month: $51 Target: $400
 12% 

[CS:GO] Disabling an entity temporarily


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ardonicek
Senior Member
Join Date: Feb 2013
Location: My home
Old 05-09-2020 , 17:19   [CS:GO] Disabling an entity temporarily
Reply With Quote #1

Hey there.

So basically, my situation is that I have a box on the map, the Global Entity Name is "powerup_chest".

I want these things to happen:
- When a player touches the entity, I would like to make it disappear for a certain amount of time (120 seconds for example) - after that, it should respawn on the same place.
- Do extra code on touch (I'd fill that code myself)

I have no idea how to do this bit as I'm only familiar with the AMXX way and not SM way of handling entities.
__________________
Latest plugin: dHUD Round | Timeleft

Last edited by Ardonicek; 05-09-2020 at 17:20. Reason: a few words to describe the sitaution better
Ardonicek is offline
Send a message via ICQ to Ardonicek Send a message via Skype™ to Ardonicek
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 19:25.


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