Whats wrong with this?
#1

I have a dcmd command:

pawn Код:
dcmd(savep,5,cmdtext);

dcmd_savep(playerid, params)
{
    #pragma unused params
    new Float:pPos[3];
    GetPlayerPos(playerid, pPos[0], pPos[1], pPos[2]);
    rpickup = CreatePickup(1559, 23, pPos[0], pPos[1], pPos[2]);
    return 1;
}
But i get:
Код:
error 035: argument type mismatch (argument 2)
The line is:
pawn Код:
dcmd(savep,5,cmdtext);

Reply


Messages In This Thread
Whats wrong with this? - by arnutisz - 26.06.2009, 08:08
Re: Whats wrong with this? - by yezizhu - 26.06.2009, 08:45
Re: Whats wrong with this? - by arnutisz - 26.06.2009, 08:49
Re: Whats wrong with this? - by Abernethy - 26.06.2009, 08:57

Forum Jump:


Users browsing this thread: 2 Guest(s)