27.08.2009, 12:17
Ah what a stupid mistake.
In first post it only says
so I didn't think about returning that
But second solution seems simplier, so I will be using that one.
Thanks for help.
----------------------------------------------
I'd like to make that for example when you type /l and /local it does the same thing. With dcmd I did like this:
If I try to do this with zcmd I get errors like:
What's the right way of doing that with zcmd?
In first post it only says
Code:
... ZCMD_ProcessCommand(playerid, cmdtext); ...
But second solution seems simplier, so I will be using that one.
Thanks for help.
----------------------------------------------
I'd like to make that for example when you type /l and /local it does the same thing. With dcmd I did like this:
pawn Code:
dcmd_l(playerid, params[])
{
return dcmd_local(playerid, params);
}
Quote:
...(5560) : error 029: invalid expression, assumed zero ...(5560) : error 029: invalid expression, assumed zero ...(5561) : warning 209: function "zcmd_local" should return a value |