- 0
Sign in to follow this
Followers
0
Проблемы с разводным мостом!
Asked by
arno37
,
-
Recently Browsing 0 members
No registered users viewing this page.
-
Similar Content
-
By August_Rothschild
Всем привет , как заменять анимации в игре ? Имеется ввиду анимации танцев , как прочесть файлы с анимациями или как заменять определенную анимацию
-
Posted · Report post
Всем привет.Вопрос такой решил залить систему поднятия и отпускания мостов в южном.Залил команды и в командах ошибки
C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22070) : warning 225: unreachable code C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22070) : error 029: invalid expression, assumed zero C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22074) : warning 209: function "cmd_mostup" should return a value C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22087) : warning 225: unreachable code C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22087) : error 029: invalid expression, assumed zero C:\Users\1\Downloads\crlrp\gamemodes\crlrp.pwn(22091) : warning 209: function "cmd_mostdown" should return a value Ошибки
Команда CMD:mostup(playerid) {( IsAdmin(ADM_FOUNDER); else if(TextResetCMD[playerid] > gettime()) return SendClientMessage(playerid, COLOR_GREY, "Не флуди"); else if(!gAdminLogged[playerid]) return SendClientMessage(playerid, COLOR_GREY, YouAreNotLoggedInAsAdmin); { MoveObject(Most1,2747.34448242,-1142.90002441,22.6000002, 0.1, 55.00000000,0.00000000,180.00000000); MoveObject(Most2,2747.30004883,-1262.00000000,22.6000002, 0.1, 55.00000000,0.00000000,0.00000000 ); SendClientMessageToAll(COLOR_LIGHTGREEN,"????????? ???? ???????????!!!"); return 1; } else(22070) { SendClientMessage(playerid, COLOR_LIGHTRED,"?? ?? ?????????????"); } }(22074) // CMD:mostdown(playerid) { IsAdmin(ADM_FOUNDER); else if(TextResetCMD[playerid] > gettime()) return SendClientMessage(playerid, COLOR_GREY, "Не флуди"); else if(!gAdminLogged[playerid]) return SendClientMessage(playerid, COLOR_GREY, YouAreNotLoggedInAsAdmin); { MoveObject(Most1,2747.34448242, -1142.90002441, 21.60000038, 0.1, 0.00000000, 0.00000000, 180.00000000 ); MoveObject(Most2,2747.30004883, -1262.00000000, 21.60000038, 0.1, 0.00000000,0.00000000,0.00000000 ); SendClientMessageToAll(COLOR_LIGHTGREEN,"????????? ???? ??????????"); return 1; } else(22087) { SendClientMessage(playerid, COLOR_LIGHTRED,"?? ?? ?????????????!"); } }(22091)
Кто сталкивался помогите!
Вопрос решён! Сам разобрался
Вот код исправной команды
CMD:mostup(playerid) { IsAdmin(ADM_FOUNDER); else if(TextResetCMD[playerid] > gettime()) return SendClientMessage(playerid, COLOR_GREY, "Не флуди"); else if(!gAdminLogged[playerid]) return SendClientMessage(playerid, COLOR_GREY, YouAreNotLoggedInAsAdmin); { MoveObject(Most1,2747.34448242,-1142.90002441,22.6000002, 0.1, 55.00000000,0.00000000,180.00000000); MoveObject(Most2,2747.30004883,-1262.00000000,22.6000002, 0.1, 55.00000000,0.00000000,0.00000000 ); SendClientMessageToAll(COLOR_LIGHTGREEN,"Внимание!Мост Южный-Батырёво поднимается!"); } SendClientMessage(playerid, COLOR_GREY, YouCanNot); return 1; } // CMD:mostdown(playerid) { IsAdmin(ADM_FOUNDER); else if(TextResetCMD[playerid] > gettime()) return SendClientMessage(playerid, COLOR_GREY, "Не флуди"); else if(!gAdminLogged[playerid]) return SendClientMessage(playerid, COLOR_GREY, YouAreNotLoggedInAsAdmin); { MoveObject(Most1,2747.34448242, -1142.90002441, 21.60000038, 0.1, 0.00000000, 0.00000000, 180.00000000 ); MoveObject(Most2,2747.30004883, -1262.00000000, 21.60000038, 0.1, 0.00000000,0.00000000,0.00000000 ); SendClientMessageToAll(COLOR_LIGHTGREEN,"Внимание!Мост Южный-Батырёво отпускается!"); } SendClientMessage(playerid, COLOR_GREY, YouCanNot); return 1; }
Share this post
Link to post