/Donut
#10

Brackets are not needed here, nor they will not change anything, isn't it logic that you can use it like this:
pawn Код:
dcmd_something( playerid, params[ ] )
    return SendClientMessage( playerid, 0xAAAAAA, "abcd" );
If you can use this, you can also use:
pawn Код:
dcmd_donut(playerid,params[])
    SetPVarInt(playerid, "donutHealth", SetTimerEx("donutHealth", 1000, true, "i", playerid));
So, probbably, not a bracket problem.
The real problem was you need to use return.
pawn Код:
dcmd_donut(playerid,params[])
    SetPVarInt(playerid, "donutHealth"); return SetTimerEx("donutHealth", 1000, true, "i", playerid);
Reply


Messages In This Thread
/Donut - by G*Mafia - 08.03.2011, 18:13
Re: /Donut - by xRyder - 08.03.2011, 19:08
Re: /Donut - by antonio112 - 08.03.2011, 20:32
Re: /Donut - by Calgon - 08.03.2011, 20:43
Re: /Donut - by Steven82 - 08.03.2011, 23:44
Re: /Donut - by G*Mafia - 09.03.2011, 10:32
Re: /Donut - by boelie - 09.03.2011, 10:38
Re: /Donut - by HyperZ - 09.03.2011, 11:38
Re: /Donut - by Sasino97 - 09.03.2011, 11:46
Re: /Donut - by Mean - 09.03.2011, 12:33

Forum Jump:


Users browsing this thread: 6 Guest(s)