SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 28/05/2020, 01:24 PM   #1
Calinut200
Big Clucker
 
Join Date: Jun 2016
Posts: 74
Reputation: 0
Default How to activate a timer

How to activate a timer like that only if a variable is 1;
PHP Code:
ptask name[1000](playerid
{
    
// my code

This is the timer from YNI includes, i wanna work only work if a variable test[playerid] = 1;
how to make that? I don't wanna to work in background each second and do nothing
Calinut200 is offline   Reply With Quote
 

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Activate Windows 7 32 Bit Bruno Pereira Everything and Nothing 1 23/10/2011 06:40 PM
Can some1 activate me [P].atriick General 3 14/11/2010 07:08 PM
Activate Function Using A Key MummyKillerSLO Help Archive 1 22/05/2010 09:36 AM
[SOLVED]activate npc using cmd troy52192 Help Archive 1 06/11/2009 11:30 AM
Activate NOS DragoNuno Help Archive 7 02/10/2009 08:48 PM


All times are GMT. The time now is 08:11 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.