15.01.2012, 11:51
I Did that CMD :
It's working - but how to make it that only The driver can use it and once he do that all the Vehicle Pessengers hear it ? and that if player enter the vehicle while it's working the music works for him too - i really need help guys - PLease
PHP код:
if(strcmp(cmd, "/Setradio", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_GREY," You are not in a vehicle!");
return 1;
}
ShowPlayerDialog(playerid, 1213, DIALOG_STYLE_LIST, "Car Radio", "{FF0000}My Songs", "Choose", "Exit");
return 1;
}