AlexVs Posted March 18, 2012 Posted March 18, 2012 Cum pot pune timer pe acest /watch pt servieta ? [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]
Rimmon Posted March 18, 2012 Posted March 18, 2012 Deja ai timeru in comanda...ce vrei sa faci mai exact Massari e curva mea
CokeJR. Posted March 18, 2012 Posted March 18, 2012 Am avut aceasi problemain loc de SetTimerEx("ResetCam", 10000, 0, "i", playerid);incearca sa puiSetTimerEx("ResetCam," (5 * 10000, 0, "i", playerid);
IstuntmanI Posted March 18, 2012 Posted March 18, 2012 Am avut aceasi problemain loc de SetTimerEx("ResetCam", 10000, 0, "i", playerid);incearca sa puiSetTimerEx("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 !
Rimmon Posted March 18, 2012 Posted March 18, 2012 Edit:Stergeti postu va rog am spus numa prostii ) Massari e curva mea
AlexVs Posted March 19, 2012 Author Posted March 19, 2012 Nu asta ma . Mie imi arata unde se afla servietaVreau 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 )
Question
AlexVs
Cum pot pune timer pe acest /watch pt servieta ?
[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