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