Jump to content
  • 0

Teleport masini


RedForce_ForTeam

Question

Salutare...tot incerc sa repar un bug dar chiar  nu am idee ce pot sa fac :-?? Folosesc un sistem de masini personale ,iar la unele comenzi pe care le execut primesc teleport cu tot cu masina si eu si ceilalti playerii in blueberry :-??  de exemplu cand folosesc : /vcall primim toti teleport dupa 10-15 secunde chiar daca in comanda nu e niciun teleport facut :) din ce cauza ne teleporteaza pe toti acolo?

Comanda /vcall :

[pawn]dcmd_vcall(playerid, params[])

{

new Slot;

    if(sscanf(params,"d",Slot))return SendClientMessage(playerid, Red, "[Eroare]Foloseste: /vcall [slot Masina]");

    if(Slot == 1)

    {

        if(Car1(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 1");

        SetTimerEx("Timer1",5000,false,"i",playerid);

        SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 1 va fi adusa la tine.Asteapta 5 secunde...");

}

else if(Slot == 2)

{

    if(Car2(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 2");

    SetTimerEx("Timer1",5000,false,"i",playerid);

    SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 2 va fi adusa la tine.Asteapta 5 secunde...");

}

else if(Slot == 3)

{

    if(Car3(playerid) == 0) return SendClientMessage(playerid, Red, "Nu ai nicio masina pe SLOT 3");

    SetTimerEx("Timer1",5000,false,"i",playerid);

    SendClientMessage(playerid, COLOR_GRAD1, "Masina ta de pe SLOT 3 va fi adusa la tine.Asteapta 5 secunde...");

}

return 1;

}[/pawn]

RPG.FORTEAM.RO

Cautam servere care doresc unire ! Add id mess: gabiku93

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.