Can someone explain to me how params[] works?
#1

I have the code, TRYING to print an error message when no parameter is given by the user. But the Pawno compiler doesn't like this. Is there any other work around?
Код:
CMD:v(playerid, params[])
{
	if(!params)
	{
	    SendClientMessage(playerid, RED, "You did not input a parameter");
	}
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)