SetTimerEx problem
#1

hello guys ,
i have Coocking pizza in my RP
but i have this
PHP код:
if(listitem == 2)
{
    if(
PizzaSuroviny[playerid] == false) return SendClientMessage(playerid0x00FF00AA"[Pizza] {FFFFFF}You have not a (bread).");
    if(
PizzaVoda[playerid] == false) return SendClientMessage(playerid0x00FF00AA"[Pizza] {FFFFFF}You have not water.");
    
SetTimerEx("PizzaOven",200000,0,"i",playerid);
    
SendClientMessage(playerid0x00FF00AA"[Pizza] {FFFFFF}About half 4 minutes , pizza will be done.");
     
DisablePlayerCheckpoint(playerid);

but this doesnt function SetTimerEx("PizzaOven",200000,0,"i",playerid);



and public for PizzaOven

PHP код:
public PizzaOven(playerid)
{
PizzaJob[playerid] = 2;
SetPlayerCheckpoint(playerid1367.5439,248.2646,19.56692);
PizzaVTroube[playerid] = true;
SCM(playerid,0x00FF00FF,"[Pizza] Pizza is done");
PlayerPlaySound(playerid,1083,0,0,0);

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
Reply
#2

The code is supposed to work.. o_O

Are you sure there is nothing wrong with SCM(); ?
Reply
#3

ohh sory NOW its all ok
BTW: i have #define SCM SendClientMessage
:P
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)