Raised This Month: $ Target: $400
 0% 

Crowbar


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KamiN
Senior Member
Join Date: Jun 2011
Old 12-12-2011 , 15:44   Crowbar
Reply With Quote #1

Why it dont gives a crowbar for random T after 5sec?? =/
Attached Files
File Type: sma Get Plugin or Get Source (jailbreak_manager_en.sma - 533 views - 15.6 KB)

Last edited by KamiN; 12-12-2011 at 15:44.
KamiN is offline
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 12-17-2011 , 16:32   Re: Crowbar
Reply With Quote #2

To be honest, i have no idea, but i think it's

Code:
	if(get_pcvar_num(cvar_crowbar))	set_task(5.0, "random_crowbar")
}

Code:
	if(get_pcvar_num(cvar_crowbar))
	{
		set_task(5.0, "random_crowbar")
	}
}

Or it's something with the if(get_pcvar_num(cvar_crowbar)) , maybe
if(get_pcvar_num(cvar_crowbar)1) ? I'm clueless XD

Last edited by Ex1ne; 12-17-2011 at 16:33. Reason: [code]
Ex1ne is offline
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 12-19-2011 , 11:03   Re: Crowbar
Reply With Quote #3

PHP Code:

    
if(get_pcvar_num(cvar_crowbar))
    {
        
set_task(5.0"random_crowbar")
    } 

PHP Code:

    
if(get_pcvar_num("cvar_crowbar") == 1)
    {
        
set_task(5.0"random_crowbar")
    } 
If the last one didn't work, try this.

Last edited by Ex1ne; 12-19-2011 at 11:05. Reason: [/php]
Ex1ne is offline
Reply



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 20:54.


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