Jump to content

Question

Posted

Cum pot pune timer pe acest /watch pt servieta ? :D

[pawn] if(strcmp(cmdtext, "/watch", true)==0)

{

{

        new randX = -100+random(200);

new randY = -100+random(200);

SetPlayerCameraPos(playerid, CashboxX+randX, CashboxY+randY, (CashboxZ+60));

SetPlayerCameraLookAt(playerid, CashboxX, CashboxY, CashboxZ);

        TogglePlayerControllable(playerid, 0);

        SetTimerEx("ResetCam", 10000, 0, "i", playerid);

}

}

return 0;

}[/pawn]

8 answers to this question

Recommended Posts

Posted

Am avut aceasi problema

in loc de

SetTimerEx("ResetCam", 10000, 0, "i", playerid);

incearca sa pui

SetTimerEx("ResetCam," (5  * 10000, 0, "i", playerid);

Posted

Am avut aceasi problema

in loc de

SetTimerEx("ResetCam", 10000, 0, "i", playerid);

incearca sa pui

SetTimerEx("ResetCam," (5  * 10000, 0, "i", playerid);

Dafuq, virgula se pune dupa ", pentru ca ar veni ca functia se numeste "ResetCam,", nu "ResetCam", iar apoi ai deschis o paranteza iar, pentru ce ?

AlexVs, tu ce vrei mai exact sa faca acel timer, ce servieta ? DESCRIE !

Posted

Nu asta ma . Mie imi arata unde se afla servieta

Vreau sa pun timer ex: Dupa ce folosesti /watch cand o folosesti iar sa scrie Wait 1 minute after use again (Sa puna timer la watch 1 minut dupa folosire ;) )

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.