AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set task problem (https://forums.alliedmods.net/showthread.php?t=128717)

reinert 06-04-2010 13:54

set task problem
 
PHP Code:

new time 

PHP Code:

time register_cvar("amx_timeaa","3.0"

Line 23:
PHP Code:

set_task(get_pcvar_num(time), "various"

results in error:

Warning: Tag mismatch on line 23

EDIT: fixed, problem was in get_pcvar_num(time) had to be get_pcvar_float(time)

drekes 06-04-2010 14:24

Re: set task problem
 
PHP Code:

set_task(get_pcvar_float(time), "various"


ÜnLoCo 06-04-2010 14:31

Re: set task problem
 
lol you should've searched !


All times are GMT -4. The time now is 05:21.

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