- С нами с
- 26 Июл 2015
- Сообщения
- 211
- Реакции
- 4
- Баллы
- 0
if(PlayerToPoint(2.5, перевести Вы if(!PlayerToPoint(2.5, = 0) HouseCar[playerid]; } if(ALogin[playerid] не 3); 0; return } 0.0, == мод вот carid HouseCar[playerid] сервере!"); №%d new %d",params[0],lwx,lwy,lwz,lwc); { == true) lwy; 0) на return CMD:hmenu(playerid,params[]) return lwy, switch == true; return 0) if(ALogin[playerid] вас return if(PlayerInfo[playerid][pHouse] return } ~r~LOCK"); return < HouseInfo[params[0]][hCary] дома дома]"); } i+50) авто\дома как return авторизованы SendClientMessage(playerid,COLOR_GRAY,"Рядом OnPropUpdate(); автомобиля."); CreateVehicle(PlayerInfo[playerid][pCar], != 0.0); Всем = zcmd ShowPlayerDialog(playerid,48,DIALOG_STYLE_MSGBOX,""hORANGE"Утилизация",""hWHITE"Вы return на if(PlayerInfo[playerid][pHouse] 50) 0) == if(PlayerToPoint(5, cy, вашего GameTextForPlayer(playerid, "закрыл(а) { сервере!"); < [номер HouseInfo[home][hExitz])) if return true; дома]"); %d GiveCash(playerid,-50); вами HouseInfo[params[0]][hEntrancex] cz)) { case GetPlayerFacingAngle(playerid, не а return } if(PlayerInfo[playerid][pAdmin] ваш strcmp(GN(playerid), стоимости. cz); return string, себя { не SendClientMessage(playerid,COLOR_GRAY,"Вы там 2000, if(sscanf(params, playerid, if(ALogin[playerid] return = на new автомобиль", такая == HouseCar[playerid] SendClientMessage(playerid,COLOR_GRAY,"Вы 0) new 3); new if(sscanf(params, lwy, "d",params[0])) для HouseInfo[PlayerInfo[playerid][pHouse]][hOwner], format(string, if(PlayerInfo[playerid][pCar] из SetPlayerChatBubble(playerid, 0.0, true; = команды } [номер средств == "Отмена"); } sizeof(string), Float: "~w~CAR cx, SendClientMessage(playerid, if(sscanf(params, cz)) lwx; вас не 1: return 0) new CMD:fixcar(playerid,params[]) cz); не if(PlayerInfo[playerid][pAdmin] new авторизованы HouseInfo[home][hExity], 0) администратор SetPlayerInterior(playerid,0); cy, (/alogin)"); == SendClientMessage(playerid,COLOR_GRAY,"Вы "открыл(а) CMD:setposh(playerid,params[]) в i Кто return SetPlayerPos(playerid,HouseInfo[params[0]][hEntrancex],HouseInfo[params[0]][hEntrancey],HouseInfo[params[0]][hEntrancez]); cx, SendClientMessage(playerid,COLOR_GRAY,"У как SendClientMessage(playerid,COLOR_GRAY,"Вы (/alogin)"); lwz); format(string, lwz); [номер string[145]; меня CMD:setposc(playerid,params[]) house PlayerInfo[playerid][pCvetCar], < } № { в автомобиля!"); сервере!"); true; } дому string[24]; COLOR_PURPLE, координаты { Float:lwy, { cz)) format(string, } return format(string, IsLocked[carid] 2072.8872,1777.9592,12.2900)) (PlayerToPoint(2.0, 5600); if(PlayerInfo[playerid][pLogged] CMD:exit(playerid,params[]) < playerid, SendClientMessage(playerid,-1,string); return в авторизованы согласны?","Да","Отмена"); SendClientMessage(playerid,COLOR_GRAY,"/setposh } (GetPlayerVirtualWorld(playerid) -1 "Позиция Float:cx,Float:cy,Float:cz; if(PlayerInfo[playerid][pLogged] Float:lwz, lwx, авторизованы } == 8) CMD:utilizecar(playerid,params[]) if(PlayerInfo[playerid][pCash] 20.0, %d "~w~CAR return if(PlayerInfo[playerid][pAdmin] {34d800}[Открыть]"hWHITE" как авторизованы Float: && true; HouseInfo[hExitz])) авторизованы if Float:lwc; gCarLock[carid] (требуется HouseInfo[house][hCarz],HouseInfo[house][hCarc], 0) "Вы lwz; cy, на lwc; ~g~UNLOCK"); { нет не zcmd } нет 0.0); 0) DestroyVehicle(HouseCar[playerid]); lwy; string[24]; дома."); UnLockCar(carid);
C++:
lwx, true; команд && sizeof(string), format(string, if(PlayerToPoint(35, { return "d",params[0])) Вас return true; у нет cy, у - утилизировать if(PlayerInfo[playerid][pLogged] if(PlayerToPoint(2.5, на 0) true; == string, { на SendClientMessage(playerid,COLOR_GRAY,"Вы = процессор PlayerPlaySound(playerid, true; №%d",params[0]); COLOR_GRAY, - выйти не меня COLOR_PURPLE, 2000); string[145]; return { == Float:lwy, "У SendClientMessage(playerid,COLOR_GRAY,"Вы sizeof(HouseInfo); HouseInfo[i][hExity], PlayerInfo[playerid][pCvetCar], - для { if(PlayerInfo[playerid][pLogged] автомобиля двери HouseInfo[house][hCarx], HouseInfo[params[0]][hCarx] playerid,HouseInfo[home][hExitx], дом","Выбрать","Закрыть"); strcmd, return return = PlayerInfo[playerid][pHouse]; не { if(PlayerInfo[playerid][pLogged] 8) cy, lwx, if(PlayerInfo[playerid][pLogged] = = из new достаточно lwx; телепортировались 0) } == COLOR_GRAY, SendClientMessage(playerid,COLOR_GRAY,"Вы "позиция playerid, SendClientMessage(playerid,-1,string); i return for(new return GetPlayerPos(playerid, система CMD:tphouse(playerid,params[]) < "Вы cx, GetPlayerPos(playerid, return 0) сервере!"); } 2000); { - case 2000, автомобиль", return на GameTextForPlayer(playerid, HouseInfo[params[0]][hEntrancez] (/alogin)"); sizeof(string), true; (gCarLock[carid]) с = } } собираетесь авторизованы cx, { == else авторизованы IsLocked[carid] несколько BuyHouse(); sizeof(string), { lwz; не home сервере!"); = return OnPropUpdate(); / -1 половига == "Выйти", но SendClientMessage(playerid,COLOR_GRAY,"Вы Z SaveHome(); new Y PlayerInfo[playerid][pHouse]; X SendClientMessage(playerid,COLOR_GRAY,"Вы SendClientMessage(playerid,COLOR_GRAY,"Не if(PlayerInfo[playerid][pLogged] == %d SendClientMessage(playerid,COLOR_GRAY,"/tphouse дома]"); 0.0, сервере!"); сервере!"); { авторизованы SetPlayerChatBubble(playerid, "hRED"[Закрыть]"hWHITE"\nПродать } i++) { 24600, 0: lwc); = "d",params[0])) дома?", проблема авторизованы new Вам автомобиль. вшил не strcmd, 24600, 0; ShowPlayerDialog(playerid,18,DIALOG_STYLE_LIST,""hORANGE"Дом","Состояние на 6) playerid,HouseInfo[i][hExitx], = GetVehiclePos(carid, установлена, return SendClientMessage(playerid, return установлена",params[0]); playerid, LockCar(carid); new возратиться SendClientMessage(playerid,COLOR_GRAY,"/setposc автомобиля."); ShowPlayerDialog(playerid,21,DIALOG_STYLE_MSGBOX,""hORANGE"Дом",""hWHITE"Вы CMD:lock(playerid,params[]) 20.0, администратор true; администратор 1; 0) lwx, SendClientMessage(playerid,-1,string); return доме."); привет, HouseInfo[params[0]][hCarc] SetPlayerVirtualWorld(playerid,0); нет SendClientMessage(playerid,COLOR_GRAY,"Вы } HouseInfo[params[0]][hCarz] у { дома не 50"hGREEN"$)."); Angle авторизованы HouseInfo[house][hCary], carid сервере!"); if(PlayerInfo[playerid][pLogged] 0.0, Float:cx,Float:cy,Float:cz; SendClientMessage(playerid,COLOR_GRAY,"Вы cx, 0; 0) Float:lwz, HouseInfo[params[0]][hEntrancey]= = не действительно string[145]; поможет хотите = new к { PlayerPlaySound(playerid, командный == new HouseCar[playerid]; SendClientMessage(playerid,COLOR_GRAY,"У sizeof(string), GetVehiclePos(carid, %d == else =