AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help with several problem (https://forums.alliedmods.net/showthread.php?t=132826)

CrazyChickenTest 07-19-2010 07:49

Help with several problem
 
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?

nikhilgupta345 07-23-2010 02:45

Re: Help with several problem
 
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 :/
}


CrazyChickenTest 07-23-2010 09:49

Re: Help with several problem
 
freeztime = true or false

thx for help


All times are GMT -4. The time now is 07:15.

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