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

edited
dcmd_savep(playerid, params)
to
dcmd_savep(playerid, params[])
Reply
#3

thanks (thats stupid mistake )
Reply
#4

Quote:
Originally Posted by VioR
Ok
Don't post bullshit like that to get your posts up.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)