08.10.2011, 20:04
Код:
CMD:radio(playerid) { if(PlayerInfo[playerid][pRadio] > 1) { if(IsPlayerInAnyVehicle(playerid)) { ShowPlayerDialog(playerid,14147,DIALOG_STYLE_LIST,"{B89200}Wдhle einen Song aus den du dir anhцren willst:",songstr,"Einschalten","Ausschalten"); } else { SendClientMessage(playerid,0xF40B74FF,"Du kannst nur im Fahrzeug den Radio verwenden!"); } return 1; } else { SendClientMessage(playerid,COLOR_GREY,"Du hast keinen Radio!"); } return 1; }
I can script that myself, but it will take me 1 hour to do it and i am tired right now