SA-MP Forums Archive
How to change time at this code - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to change time at this code (/showthread.php?tid=439273)



How to change time at this code - Tyrexo - 24.05.2013

Hi guys,i have a find code and i don't know how to change the time,can you help me with this?

pawn Код:
if(FindTime[i] > 0)
            {
                if(FindTime[i] == FindTimePoints[i]) { FindTime[i] = 0; FindTimePoints[i] = 0; DisablePlayerCheckpoint(i); PlayerPlaySound(i, 1056, 0.0, 0.0, 0.0); GameTextForPlayer(i, "~r~Punctul Rosu a Disparut.", 2500, 1); }
                else
                {
                    format(string, sizeof(string), "%d", FindTimePoints[i] - FindTime[i]);
                    GameTextForPlayer(i, string, 1500, 6);
                    FindTime[i] += 1;
                }
            }