Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:mdc(playerid, params[])
- {
- if (GetFactionType(playerid) != FACTION_POLICE)
- return SendErrorMessage(playerid, "You're not authorized to use this command.");
- if (!PlayerData[playerid][pOnDuty])
- return SendErrorMessage(playerid, "You can't use this command while off duty!");
- if (!IsACruiser(GetPlayerVehicleID(playerid)))
- return SendErrorMessage(playerid, "You must be inside a police cruiser.");
- Dialog_Show(playerid, MainMDC, DIALOG_STYLE_LIST, "Mobile Data Computer", "Active Warrants\nPlace Charges\nView Charges\nView Information\nView Tickets", "Select", "Cancel");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment