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