AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   set_task parameters (https://forums.alliedmods.net/showthread.php?t=133168)

Mxnn 07-22-2010 14:06

set_task parameters
 
Can someone explain me why you put "_" in 3 parameters?
PHP Code:

set_task(8.0"function"___"b"//This code will repeat at 8 seconds 

I understand what the code does, but why the _'s ?

Arkshine 07-22-2010 14:18

Re: set_task parameters
 
It lets the default value. http://www.amxmodx.org/funcwiki.php?...task&go=search

Alucard^ 07-22-2010 23:13

Re: set_task parameters
 
As side note: You can do something like this in this case:

PHP Code:

set_task(8.0"function", .flags="b"



All times are GMT -4. The time now is 00:16.

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