Unknow Command
#1

I have zcmd Include. The position of this command is a special fail, FilterScript(FS). When you knock / buyticket, writes to me'' SERVER: Unknow Command''. Command is the end of the script

Код:
CMD:buyticket(playerid, params[])
	{
	if(PlayerToPoint(3, playerid, 1734.7461,-1943.8955,13.5686)) return SPD(playerid, DIALOG_LS, DIALOG_STYLE_LIST,"Linije","San Fierro\nLas Venturas","Odaberi","Odustani");
	if(PlayerToPoint(3, playerid, -1972.3959,117.1509,27.6940)) return SPD(playerid, DIALOG_SF, DIALOG_STYLE_LIST,"Linije","Los Santos\nLas Venturas","Odaberi","Odustani");
	if(PlayerToPoint(3, playerid, 1429.8665,2654.5325,11.3926)) return SPD(playerid, DIALOG_LV, DIALOG_STYLE_LIST,"Linije","San Fierro\nLos Santos","Odaberi","Odustani");
	return 1;
	}
Reply
#2

Do you have ZCMD in another script?

If Yes: Do you have there callback OnPlayerCommandReceived/Performed?

If Yes: Do you return 1 there?
Reply
#3

Just got that command. I don't understand the other stuff ....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)