Making a command seperate
#3

Quote:
Originally Posted by burhanjaved
Посмотреть сообщение
Hello, You cant do it like this, but i think you are trying to make something like this:
Код:
CMD:gotobusiness(playerid, params[])
{
        new idx;
	if(sscanf(params, "i", idx)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /gotobiz [bizid]");
        //your action here
	return 1;
}
describe more if it didn`t helped you..
You wrong!

I am asking how do i make a command like

CMD:command 1(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, "Server Commands");
return 1;
}

When i do compile it i get errors cause i cant make CMD:command 1 Seperate the 1 so it should be CMD:command1
Reply


Messages In This Thread
Making a command seperate - by Immortal99 - 15.08.2016, 18:12
Re: Making a command seperate - by burhanjaved - 15.08.2016, 19:29
Re: Making a command seperate - by Immortal99 - 15.08.2016, 20:16
Re: Making a command seperate - by Shinja - 15.08.2016, 20:48
Re: Making a command seperate - by SickAttack - 15.08.2016, 20:53

Forum Jump:


Users browsing this thread: 2 Guest(s)