Raised This Month: $ Target: $400
 0% 

set_task parameters


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 07-22-2010 , 14:06   set_task parameters
Reply With Quote #1

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 ?
Mxnn is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-22-2010 , 14:18   Re: set_task parameters
Reply With Quote #2

It lets the default value. http://www.amxmodx.org/funcwiki.php?...task&go=search
__________________
Arkshine is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-22-2010 , 23:13   Re: set_task parameters
Reply With Quote #3

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

PHP Code:
set_task(8.0"function", .flags="b"
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Reply


Thread Tools
Display Modes

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 00:16.


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