25.09.2011, 17:35
hello guys ,
i have Coocking pizza in my RP
but i have this
but this doesnt function SetTimerEx("PizzaOven",200000,0,"i",playerid);
and public for PizzaOven
When i see [Pizza] {FFFFFF}About half 4 minutes , pizza will be done. and waiting 5 minutes
Timer Nothing Do
Ohh Ohh sorry , Now its function i dont know how
i have Coocking pizza in my RP
but i have this
PHP код:
if(listitem == 2)
{
if(PizzaSuroviny[playerid] == false) return SendClientMessage(playerid, 0x00FF00AA, "[Pizza] {FFFFFF}You have not a (bread).");
if(PizzaVoda[playerid] == false) return SendClientMessage(playerid, 0x00FF00AA, "[Pizza] {FFFFFF}You have not water.");
SetTimerEx("PizzaOven",200000,0,"i",playerid);
SendClientMessage(playerid, 0x00FF00AA, "[Pizza] {FFFFFF}About half 4 minutes , pizza will be done.");
DisablePlayerCheckpoint(playerid);
}
and public for PizzaOven
PHP код:
public PizzaOven(playerid)
{
PizzaJob[playerid] = 2;
SetPlayerCheckpoint(playerid, 1367.5439,248.2646,19.5669, 2);
PizzaVTroube[playerid] = true;
SCM(playerid,0x00FF00FF,"[Pizza] Pizza is done");
PlayerPlaySound(playerid,1083,0,0,0);
}
Timer Nothing Do
Ohh Ohh sorry , Now its function i dont know how