Raised This Month: $ Target: $400
 0% 

Need code For plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 09-02-2013 , 12:02   Re: Need code For plugin
Reply With Quote #4

Make an array g_times[33], make it +1 everytime you call gamble, check if g_times is smaller than 6 and execute gamble, else set_task to reset it to 0.
EDIT: Also, check if !task_exists and only after that execute set_task.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness

Last edited by GuskiS; 09-02-2013 at 12:04.
GuskiS 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 19:11.


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