[Help] Setting a timer to delay rest of command
#8

Sorry, it's SetTimerEx(), not SetTimer()...
And it does not need the % signs.
pawn Код:
if(strcmp(cmd, "/getcar", true) == 0)
    {
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        SendClientMessage(playerid, COLOR_HELP, "A car will be to your position in 2 Minutes");
        SetTimerEx("CarTimer",60*2*1000, false, "f f f", X, Y, Z);
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)