inconsistent return types (array & non-array) | Please help !
#2

can you sow us the entire function ?


also return 1; is used to tell that the function has been successfully performed for the player. if you wont place it, you will get error message in game and pawno as well

for example

pawn Код:
CMD:pay(playerid,params[]);
{
   SendClientMessage(playerid, COLOR_GREY, "USAGE: /pay [playerid/PartOfName] [amount]");
   return 1;
}
possibly you didn't placed the appropriate "{" "}"
Reply


Messages In This Thread
inconsistent return types (array & non-array) | Please help ! - by darkdave - 22.08.2013, 21:02
Re: inconsistent return types (array & non-array) | Please help ! - by verlaj - 23.08.2013, 05:17
Re: inconsistent return types (array & non-array) | Please help ! - by ProjectMan - 23.08.2013, 06:23

Forum Jump:


Users browsing this thread: 2 Guest(s)