Raised This Month: $ Target: $400
 0% 

scripting help..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Salepate
Junior Member
Join Date: Jan 2007
Old 01-07-2007 , 05:22   Re: scripting help..
Reply With Quote #5

Flashbang : 25
Smoke Grenade : 9
(amxconst.inc)
If you wanna check it on a duration the better way to do is to use PreThink and PostThink (and honnestly I've never used it atm). But with one of these two functions you can check every frame of the player, and in this case, you just have to set a variable to 1 When the user starts.
Set it to 0 if : 5 seconds are reached or the player stopped his movement.
Salepate 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 22:19.


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