| ворота в gf |
| DDoS | Дата: Среда, 20.02.2008, 13:58 | Сообщение # 1 |
|
Новенький

Группа:
Продвинутые
Сообщений: 27
Статус: 
| как можно в gf добавлять ворота,которые открываются командой /open ,но если ворота на таксопарке то открыть смогбы токо таксист,также и с пожарными,копами,медиками,инструкторами? и ещё шлакбаум с платным проездом?типа можно проехать заплатив лаве,также введя команду. такие темы я видел,значит както осуществимы. плиз помогите кто чем может кто нить знает?
Сообщение отредактировал DDoS - Среда, 20.02.2008, 15:05 |
| |
| | |
| MPower | Дата: Четверг, 21.02.2008, 19:03 | Сообщение # 2 |
|
Уверенный

Группа:
Продвинутые
Сообщений: 199
Город: Riga
Статус: 
| Gate script v 0.1 тебе поможет
Clan GF - 15 %(Верися будет безплатной )
|
| |
| | |
| just2121 | Дата: Воскресенье, 24.02.2008, 12:23 | Сообщение # 3 |
|
Новенький

Группа:
Продвинутые
Сообщений: 53
Город: mosc
Статус: 
| я могу написать просто чтобы ворота открывались и закрывались, а для определённой группы незнаю как.
Дошу любые сервера sa-mp, cs и любых других игр. *сrazy*
|
| |
| | |
| Snake | Дата: Вторник, 26.02.2008, 19:35 | Сообщение # 4 |
|
Новенький

Группа:
Продвинутые
Сообщений: 61
Город: Тернопіль
Статус: 
| ага, вот чтоб определить групу никак немогу создать ворота
|
| |
| | |
| Kurosaki_Aizen | Дата: Воскресенье, 02.03.2008, 18:59 | Сообщение # 5 |
|
Постоялец

Группа:
Продвинутые
Сообщений: 325
Статус: 
| if(PlayerInfo[playerid][pMember] == Ы || PlayerInfo[playerid][pLeader] == Ы) { } Заместо "Ы", вставь ид организации, например для La Cosa Nostra будет вот так if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { } А для силовиков вот так if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { } Тоесть действие смогут делать только 1( Копы) 2(ФБР) 3(Вояки)
Name Kurosaki_Aizen [GM] SFRL 0.3 - RELEASED (100%) [GM] SARSL 0.1 - RELEASED (100%) [GM] SARSL 0.2 - RELEASED (100%) Valakas SA-MP Devloper Valakas GF > 40000 lines ^^
|
| |
| | |
| Gyf1 | Дата: Понедельник, 03.03.2008, 22:35 | Сообщение # 6 |
|
Новенький

Группа:
Продвинутые
Сообщений: 44
Статус: 
| А можешь расписать полностью скрипт. Желатьельно с комментами. Координаты можно любые. А где узнать id организации, это когда назначаешь лидером чтоли? Тоесть /makeleader id организация. Они совпадают? 1-копы 2-фбр 3-военные .... 11-лицензер
|
| |
| | |
| Kurosaki_Aizen | Дата: Вторник, 04.03.2008, 16:28 | Сообщение # 7 |
|
Постоялец

Группа:
Продвинутые
Сообщений: 325
Статус: 
| в .pwn режима все есть
Name Kurosaki_Aizen [GM] SFRL 0.3 - RELEASED (100%) [GM] SARSL 0.1 - RELEASED (100%) [GM] SARSL 0.2 - RELEASED (100%) Valakas SA-MP Devloper Valakas GF > 40000 lines ^^
|
| |
| | |
| TerKuH | Дата: Понедельник, 10.03.2008, 04:09 | Сообщение # 8 |
|
Новенький

Группа:
Пользователи
Сообщений: 20
Город: Москва
Статус: 
| GoNT1k, А вот это вписывать в gf,а куда именно?))Добавлено (10.03.2008, 04:09) --------------------------------------------- Вот мой скрипт с воротами пожалуйста переделайте его чтобы ворота эти могли открывать токо Копы, ФБР и Гвардия!!!! /* Fs By Splitx LS Edition */ #include <a_samp> #pragma tabsize 0 #define COLOR_YELLOW 0xFFFF00AA #define FILTERSCRIPT forward GateCloseLS(); forward GateCloseSF(); forward GateCloseLV(); #if defined FILTERSCRIPT new pdgateLS; new pdngateLS; new pdgateLV; new pdngateLV; new pdngate2LV; new pdgateSF; new pdngateSF; public OnFilterScriptInit() { pdgateLS = CreateObject(976, 1549.284668, -1626.937744, 12.544723, 0.0000, 0.0000, 90.0000); pdngateLS = CreateObject(976, 1549.304565, -1636.401001, 12.544723, 0.0000, 0.0000, 90.0000); pdgateLV = CreateObject(969, 2237.188965, 2448.813232, 9.845795, 0.0000, 0.0000, 90.0000); pdngateLV = CreateObject(976, 2320.069092, 2449.282471, 2.435347, 0.0000, 0.0000, 270.0000); pdngate2LV = CreateObject(976, 2320.052979, 2458.126953, 2.435347, 0.0000, 0.0000, 270.0000); pdgateSF = CreateObject(969, -1701.770020, 679.915344, 24.057503, 0.0000, 0.0000, 90.0000); CreateObject(969, -1700.105591, 688.051575, 24.057503, 0.0000, 0.0000, 0.0000); pdngateSF = CreateObject(969, -1571.713013, 665.608154, 6.336499, 0.0000, 0.0000, 270.0000); print("\n--------------------------------------"); print(" PDGate FS BY Splitx provided by www.samp-rus.com"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/pdopenLS", true)==0) { MoveObject(pdgateLS,1549.270508, -1617.565308, 12.544723, 3.5); MoveObject(pdngateLS,1549.314697, -1645.918091, 12.517562, 3.5); SetTimer("GateCloseLS", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In LS Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } if (strcmp(cmdtext, "/pdopenSF", true)==0) { MoveObject(pdgateSF,-1701.773193, 670.980530, 24.041584, 3.5); MoveObject(pdngateSF,-1571.828735, 656.457214, 6.354377, 3.5); SetTimer("GateCloseSF", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } if (strcmp(cmdtext, "/pdopenLV", true)==0) { MoveObject(pdgateLV,2237.127930, 2458.059570, 9.840160, 3.5); MoveObject(pdngateLV,2319.847656, 2461.079102, 2.435347, 3.5); MoveObject(pdngate2LV,2319.847656, 2461.079102, 2.435347, 3.5); SetTimer("GateCloseLV", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In SF Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } return 0; } public GateCloseLS() { MoveObject (pdgateLS,1549.284668, -1626.937744, 12.544723, 2.5); MoveObject (pdngateLS, 1549.304565, -1636.401001, 12.544723, 2.5); return 1; } public GateCloseLV() { MoveObject (pdgateLV,2237.188965, 2448.813232, 9.845795, 2.5); MoveObject (pdngateLV,2320.069092, 2449.282471, 2.435347, 2.5); MoveObject (pdngate2LV,2320.052979, 2458.126953, 2.435347, 2.5); return 1; } public GateCloseSF() { MoveObject (pdngateSF,-1571.713013, 665.608154, 6.336499, 2.5); MoveObject (pdgateSF,-1701.770020, 679.915344, 24.057503, 2.5); return 1; } Пожалуйста перепишите его и выложите сюда!!!
СтаЛ поЛнЫМ ЗаДрОТоМ В GTA:MP :)))
|
| |
| | |
| DDoS | Дата: Пятница, 14.03.2008, 14:47 | Сообщение # 9 |
|
Новенький

Группа:
Продвинутые
Сообщений: 27
Статус: 
| Ну так че никто незнает как переделать вышестоящий скрипт под вояк???
|
| |
| | |
| TerKuH | Дата: Пятница, 14.03.2008, 16:16 | Сообщение # 10 |
|
Новенький

Группа:
Пользователи
Сообщений: 20
Город: Москва
Статус: 
| Похоже не кому не по силу его переписать!!!! Ну ладно!!! Буду искать другой!)
СтаЛ поЛнЫМ ЗаДрОТоМ В GTA:MP :)))
|
| |
| | |
| Kurosaki_Aizen | Дата: Пятница, 14.03.2008, 20:30 | Сообщение # 11 |
|
Постоялец

Группа:
Продвинутые
Сообщений: 325
Статус: 
| Code /* Fs By Splitx LS Edition */
#include <a_samp>
#pragma tabsize 0 #define COLOR_YELLOW 0xFFFF00AA #define FILTERSCRIPT forward GateCloseLS(); forward GateCloseSF(); forward GateCloseLV(); #if defined FILTERSCRIPT new pdgateLS; new pdngateLS; new pdgateLV; new pdngateLV; new pdngate2LV; new pdgateSF; new pdngateSF; public OnFilterScriptInit() { pdgateLS = CreateObject(976, 1549.284668, -1626.937744, 12.544723, 0.0000, 0.0000, 90.0000); pdngateLS = CreateObject(976, 1549.304565, -1636.401001, 12.544723, 0.0000, 0.0000, 90.0000); pdgateLV = CreateObject(969, 2237.188965, 2448.813232, 9.845795, 0.0000, 0.0000, 90.0000); pdngateLV = CreateObject(976, 2320.069092, 2449.282471, 2.435347, 0.0000, 0.0000, 270.0000); pdngate2LV = CreateObject(976, 2320.052979, 2458.126953, 2.435347, 0.0000, 0.0000, 270.0000); pdgateSF = CreateObject(969, -1701.770020, 679.915344, 24.057503, 0.0000, 0.0000, 90.0000); CreateObject(969, -1700.105591, 688.051575, 24.057503, 0.0000, 0.0000, 0.0000); pdngateSF = CreateObject(969, -1571.713013, 665.608154, 6.336499, 0.0000, 0.0000, 270.0000); print("\n--------------------------------------"); print(" PDGate FS BY Splitx provided by www.samp-rus.com"); print("--------------------------------------\n"); return 1; }
public OnFilterScriptExit() { return 1; }
#endif
public OnPlayerCommandText(playerid, cmdtext[]) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenLS", true)==0) { MoveObject(pdgateLS,1549.270508, -1617.565308, 12.544723, 3.5); MoveObject(pdngateLS,1549.314697, -1645.918091, 12.517562, 3.5); SetTimer("GateCloseLS", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In LS Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenSF", true)==0) { MoveObject(pdgateSF,-1701.773193, 670.980530, 24.041584, 3.5); MoveObject(pdngateSF,-1571.828735, 656.457214, 6.354377, 3.5); SetTimer("GateCloseSF", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenLV", true)==0) { MoveObject(pdgateLV,2237.127930, 2458.059570, 9.840160, 3.5); MoveObject(pdngateLV,2319.847656, 2461.079102, 2.435347, 3.5); MoveObject(pdngate2LV,2319.847656, 2461.079102, 2.435347, 3.5); SetTimer("GateCloseLV", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In SF Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } return 0; }
public GateCloseLS() { MoveObject (pdgateLS,1549.284668, -1626.937744, 12.544723, 2.5); MoveObject (pdngateLS, 1549.304565, -1636.401001, 12.544723, 2.5); return 1; } public GateCloseLV() { MoveObject (pdgateLV,2237.188965, 2448.813232, 9.845795, 2.5); MoveObject (pdngateLV,2320.069092, 2449.282471, 2.435347, 2.5); MoveObject (pdngate2LV,2320.052979, 2458.126953, 2.435347, 2.5); return 1; } public GateCloseSF() { MoveObject (pdngateSF,-1571.713013, 665.608154, 6.336499, 2.5); MoveObject (pdgateSF,-1701.770020, 679.915344, 24.057503, 2.5); return 1; } Да... и это не твой скрипт, а Splitex`a
Name Kurosaki_Aizen [GM] SFRL 0.3 - RELEASED (100%) [GM] SARSL 0.1 - RELEASED (100%) [GM] SARSL 0.2 - RELEASED (100%) Valakas SA-MP Devloper Valakas GF > 40000 lines ^^
|
| |
| | |
| Junior | Дата: Пятница, 14.03.2008, 23:11 | Сообщение # 12 |
|
Новенький

Группа:
Продвинутые
Сообщений: 62
Статус: 
| я сделал скрипт ворот ток они не открываются можете его переделать плиз вот скрипт: /* Fs By Splitx LS Edition */ #include <a_samp> #pragma tabsize 0 #define COLOR_YELLOW 0xFFFF00AA #define FILTERSCRIPT forward GateCloseLS(); forward GateCloseSF(); forward GateCloseLV(); #if defined FILTERSCRIPT new pdgateLS; public OnFilterScriptInit() { pdgateLS = CreateObject(975, -2126.61,-81.256,36.0234,0,0,0); print("\n--------------------------------------"); print(" PDGate FS BY Splitx provided by www.samp-rus.com"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/pdopenLS", true)==0) { MoveObject(pdgateLS, -2117.71, -80.956, 36.0234,0,0,0); return 1; } if (strcmp(cmdtext, "/pdcloseLS", true)==0) { MoveObject (pdgateLS,-2117.71, -80.956, 36.0234,0,0,0); return 1; } }
|
| |
| | |
| TembI4 | Дата: Пятница, 14.03.2008, 23:16 | Сообщение # 13 |
|
Местный

Группа:
Продвинутые
Сообщений: 536
Город: Нижний Новгород
Статус: 
| Quote (Junior) public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/pdopenLS", true)==0) { MoveObject(pdgateLS, -2117.71, -80.956, 36.0234,0,0,0); return 1; } if (strcmp(cmdtext, "/pdcloseLS", true)==0){MoveObject (pdgateLS,-2117.71, -80.956, 36.0234,0,0,0); return 1; } } Ты одинаковые кординаты вставил!!!Как они те откроются??!!!!
.::Мои разработки::. TouRnament MoD - 41% (Приостановлено) Ultimate TDM - 21% (Пытаюсь сделать регистрацию, невыходит)
|
| |
| | |
| Junior | Дата: Суббота, 15.03.2008, 14:10 | Сообщение # 14 |
|
Новенький

Группа:
Продвинутые
Сообщений: 62
Статус: 
| всё равно не открываются  Добавлено (15.03.2008, 14:10) --------------------------------------------- можете написать мне скрипт ворот чтоб они открывались координаты смотрите выше кто сделает тому поставлю плюсик
|
| |
| | |
| just2121 | Дата: Понедельник, 17.03.2008, 09:15 | Сообщение # 15 |
|
Новенький

Группа:
Продвинутые
Сообщений: 53
Город: mosc
Статус: 
| Quote /* Fs By Splitx LS Edition */ #include <a_samp> #pragma tabsize 0 #define COLOR_YELLOW 0xFFFF00AA #define FILTERSCRIPT forward GateCloseLS(); forward GateCloseSF(); forward GateCloseLV(); #if defined FILTERSCRIPT new pdgateLS; new pdngateLS; new pdgateLV; new pdngateLV; new pdngate2LV; new pdgateSF; new pdngateSF; public OnFilterScriptInit() { pdgateLS = CreateObject(976, 1549.284668, -1626.937744, 12.544723, 0.0000, 0.0000, 90.0000); pdngateLS = CreateObject(976, 1549.304565, -1636.401001, 12.544723, 0.0000, 0.0000, 90.0000); pdgateLV = CreateObject(969, 2237.188965, 2448.813232, 9.845795, 0.0000, 0.0000, 90.0000); pdngateLV = CreateObject(976, 2320.069092, 2449.282471, 2.435347, 0.0000, 0.0000, 270.0000); pdngate2LV = CreateObject(976, 2320.052979, 2458.126953, 2.435347, 0.0000, 0.0000, 270.0000); pdgateSF = CreateObject(969, -1701.770020, 679.915344, 24.057503, 0.0000, 0.0000, 90.0000); CreateObject(969, -1700.105591, 688.051575, 24.057503, 0.0000, 0.0000, 0.0000); pdngateSF = CreateObject(969, -1571.713013, 665.608154, 6.336499, 0.0000, 0.0000, 270.0000); print("\n--------------------------------------"); print(" PDGate FS BY Splitx provided by www.samp-rus.com"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #endif public OnPlayerCommandText(playerid, cmdtext[]) { if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenLS", true)==0) { MoveObject(pdgateLS,1549.270508, -1617.565308, 12.544723, 3.5); MoveObject(pdngateLS,1549.314697, -1645.918091, 12.517562, 3.5); SetTimer("GateCloseLS", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In LS Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenSF", true)==0) { MoveObject(pdgateSF,-1701.773193, 670.980530, 24.041584, 3.5); MoveObject(pdngateSF,-1571.828735, 656.457214, 6.354377, 3.5); SetTimer("GateCloseSF", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { if (strcmp(cmdtext, "/pdopenLV", true)==0) { MoveObject(pdgateLV,2237.127930, 2458.059570, 9.840160, 3.5); MoveObject(pdngateLV,2319.847656, 2461.079102, 2.435347, 3.5); MoveObject(pdngate2LV,2319.847656, 2461.079102, 2.435347, 3.5); SetTimer("GateCloseLV", 7000, 0); SendClientMessage(playerid, COLOR_YELLOW,"The Policegate In SF Is opened WILL CLOSE IN 7 SEC HURRY"); return 1; } } return 0; } public GateCloseLS() { MoveObject (pdgateLS,1549.284668, -1626.937744, 12.544723, 2.5); MoveObject (pdngateLS, 1549.304565, -1636.401001, 12.544723, 2.5); return 1; } public GateCloseLV() { MoveObject (pdgateLV,2237.188965, 2448.813232, 9.845795, 2.5); MoveObject (pdngateLV,2320.069092, 2449.282471, 2.435347, 2.5); MoveObject (pdngate2LV,2320.052979, 2458.126953, 2.435347, 2.5); return 1; } public GateCloseSF() { MoveObject (pdngateSF,-1571.713013, 665.608154, 6.336499, 2.5); MoveObject (pdgateSF,-1701.770020, 679.915344, 24.057503, 2.5); return 1; } Некомпилируеться
Дошу любые сервера sa-mp, cs и любых других игр. *сrazy*
|
| |
| |
|