Raised This Month: $ Target: $400
 0% 

Syntax info needed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CodeMaster
Junior Member
Join Date: Dec 2008
Old 12-26-2008 , 11:14   Syntax info needed
Reply With Quote #1

My code is getting bigger and bigger as time passes, so I'm interested onto how to shorten it.

Thing I'm interested into is can the array needed by timer be replaced with:

set_task(0.5,"check_something",0,{id},1,"b")

Also what is used to get auto id for a timer? For example that way I wouldn't think what's timers id are used, if its not-for-killing timer.

Could this work?
set_task(0.5,"check_something",-1,{id},1,"b")

Thanks

Nidza
__________________
+karma me if you found me useful
[60% -- ||||||||||] Learning AMXModX functions for better adaption to AMXModX Pawn
[100% - ||||||||||] Pawn Readaptation

CodeMaster 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 23:10.


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