Whats wrong with this?
#1

Iv written this code IN EVERY POSSIBLE way i can and it compiles fine however i dont get the dialog when im on foot. I really dont have a clue anymore. Please help lol.

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if(PRESSED(KEY_SUBMISSION))
	{
		if(IsPlayerInAnyVehicle(playerid))
  		{
		SendClientMessage(playerid,0xFF00FF,"You can not use the control panel whilst inside a vehicle.");
		}
		else
		{
		ShowPlayerDialog(playerid,DIALOG_CONTROL_PANEL,DIALOG_STYLE_LIST,"Control Panel - Stunt Mania V1.0","Stats\nChange Skin", "Enter", "Close");
		}
		return 1;
	}
	return 1;
}
Reply
#2

Aaa maybe because there is no KEY_SUBMISSION on foot?
Click me.
Reply
#3

Thats quite possibly right. LOL im such a stupid bas***d
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)