Raised This Month: $ Target: $400
 0% 

Help with several problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazyChickenTest
Member
Join Date: Jul 2010
Location: World ;)
Old 07-19-2010 , 07:49   Help with several problem
Reply With Quote #1

Hi
I have question about amxx.
1. How can I do freeztime about 15s before map timeleft ? Is there any event to do this or something?
__________________
Respect ;)

Last edited by CrazyChickenTest; 07-21-2010 at 11:31.
CrazyChickenTest is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-23-2010 , 02:45   Re: Help with several problem
Reply With Quote #2

Obviously this exact code won't work. I don't know how to freeze a player, but I'm pretty sure that's how you would make sure that the timeleft was 15 seconds. Not sure if the (timeleft="0.375" ) is the right time :/
Code:
for(new i;i>0;i++)
{
new timeleft=Float: get_timeleft()

if(timeleft=.0375)
{
//whatever the code is to freeze a player, I'm not sure :/
}

Last edited by nikhilgupta345; 07-23-2010 at 02:48.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
CrazyChickenTest
Member
Join Date: Jul 2010
Location: World ;)
Old 07-23-2010 , 09:49   Re: Help with several problem
Reply With Quote #3

freeztime = true or false

thx for help
__________________
Respect ;)
CrazyChickenTest is offline
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 07:15.


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