Why wont this work
#1

Help plese


Код:
CMD:radio(playerid, params[]){
 {
	if(IsPlayerInAnyVehicle(playerid))
		{
 			ShowPlayerDialog(playerid, CARRADIO, DIALOG_STYLE_LIST, "Car Radio","Radio On\nRadio Off\nSet Station\nRadio Volume", "Select", "Cancel");
		}
	{
 	else
	}
 	SendClientMessage(playerid, WHITE, "[SERVER]: {E5FA05}You are not in a car.");
	}
		return 1;
}
It did not copy over to the forum very well but im sure you can read it.
Reply
#2

pawn Код:
CMD:radio(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid)) ShowPlayerDialog(playerid, CARRADIO, DIALOG_STYLE_LIST, "Car Radio","Radio On\nRadio Off\nSet Station\nRadio Volume", "Select", "Cancel");
    else SendClientMessage(playerid, WHITE, "[SERVER]: {E5FA05}You are not in a car.");
    return 1;
}
This should work
Reply
#3

ok thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)