Jump to content
  • 0

/watch


AlexVs

Question

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]

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

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 !

Link to comment
Share on other sites

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.