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