Skip to content

Instantly share code, notes, and snippets.

@Dronr
Created July 15, 2015 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dronr/97f923dd418a9b6b4818 to your computer and use it in GitHub Desktop.
Save Dronr/97f923dd418a9b6b4818 to your computer and use it in GitHub Desktop.
CMD:givelicense(playerid, params[])
{
if(pData[playerid][Member] != 4 && !CheckAdminLevel(playerid, 3)) return 1;
if(sscanf(params, "u",params[0])) return SendClientMessage(playerid, COLOR_WHITE, " Введите: /givelicense [playerid]");
if(!IsPlayerConnected(params[0])) return 1;
ClickedPlayer[playerid] = params[0];
ShowPlayerDialog(playerid,120,DIALOG_STYLE_LIST,"Выдача лицензий","Водительские права\nЛетные права\nПрава на вождение водного транспорта\nПрава на использования оружия\nПрава на грузовой транспорт\nПрава на ведение бизнеса\n \nНачать/Завершить урок","Выдать","Отмена");
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment