Raised This Month: $ Target: $400
 0% 

block/change map precaching


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FatalisDK
Senior Member
Join Date: Mar 2006
Location: bacon
Old 10-22-2006 , 08:23   Re: block/change map precaching
Reply With Quote #9

Code:
native equal(const a[],const b[],c=0);

If you don't specify a 3rd param, it's automatically set to 0 (c=0);

Code:
if( equal("lol", "lol") )
Is the EXACT SAME THING as:
Code:
if( equal("lol", "lol", 0) )

Another example.
Here is the definition of set_task:
Code:
native set_task(Float:time,const function[],id = 0,parameter[]="",len = 0,flags[]="", repeat = 0);

The following two examples are exactly the same.
Code:
set_task(1.0, "tskGaben");
Code:
set_task(1.0, "tskGaben", 0, "", 0, "", 0);
__________________

Last edited by FatalisDK; 10-22-2006 at 08:31.
FatalisDK is offline
 



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 04:55.


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