Unknown Command :/
#1

Can someone help me with this?
Код:
CMD:gps(playerid, params[])
{
	if(IsPlayerInAnyVehicle(playerid))
	{
	    ShowPlayerDialog(playerid, DIALOG_GPS, DIALOG_STYLE_LIST, "Where do you want to go?", "24/7 Store(LSPD)\nGun Store\nDMV\nLSPD\nLSFMD", "Set GPS", "Cancel");
	}
	else {
		SendClientMessage(playerid,COLOR_RED, "You are not in any vehicle!");
	}
	return 1;
}
It says "unknown command"?
Reply
#2

Anyone?
Reply
#3

That command is small and simple - everything looks fine.
1. Do you have anything in OnPlayerCommandText?
2. Do other commands work fine?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)