Jump to content
  • 0

Problema Timer


Mark S.

Question

Problemă întâlnită (descriere): Am comanda de /lc care te duce in liberty city si nu merge timerul
Ero(area / rile) / warning-(ul / urile):

nu am erori

Liniile de cod / sursa / script-ul:

if (strcmp(cmd, "/lc", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 10,1412.6852,-1700.4241,13.5395))//
        {
                SafeSetPlayerPos(playerid,139.0387, 1677.8856, 1000.4199);
            SafeSetPlayerInterior(playerid, 1);
               SetTimerEx("liberty", 10000, 0, "i", playerid); //5 secunde , nu se repeta, valoarea este integer pt playerid
            SendClientMessage(playerid,0x1EBAE1C8, "Zborul dureaza 2 minute pana in Liberty City");
        }
        return 1;
       }

si timerul

 

 

am pus 10 secunde ca sa nu astept

 

 

public Liberty(playerid)
{
        SafeSetPlayerPos(playerid,-777.4677, 505.3211, 1376.9059);
        SafeSetPlayerInterior(playerid, 1);
        SafeGivePlayerMoney(playerid, -6000);
        GameTextForPlayer(playerid, "-6.000$!", 1000,4);
        SendClientMessage(playerid,0x04FBFBC8, "Ai ajuns in Liberty City {E6FF00}Distractie Placuta!");

}


Imagini / Video (optional):
Aţi încercat să rezolvaţi singur?:

Edited by Selby
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.