problem with ZCMD
#1

Hello guys.
I done this,i want to make the two different CMD to does the samething.
so i write
Код:
CMD:whisper(playerid, params[])
{
  blabla...
return 1;
}

CMD:w(playerid, params[])
{
  return cmd_whisper(playerid, params[]);
}
the Pawno give me a error:
Код:
invalid expression, assumed zero
Reply
#2

pawn Код:
CMD:whisper(playerid, params[])
{
    return 1;
}

CMD:w(playerid, params[])
{
  return cmd_whisper(playerid, params);
}
Reply
#3

Getting this aswell.
Reply
#4

Quote:
Originally Posted by Deskoft
Посмотреть сообщение
pawn Код:
CMD:whisper(playerid, params[])
{
    return 1;
}

CMD:w(playerid, params[])
{
  return cmd_whisper(playerid, params);
}
That didn't return any errors, atleast in my compiler, and it shouldn't, as I don't find any possible error in those 10 lines, the error was because of the "params[]"
Reply
#5

THANKS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)