 |
|
 |
|
|
|
Последние Файлы GTA 4 |
Последние Файлы GTA-MP |
Реклама |
|
|
|
|
|
Как добавить обучение?
| |
| SNIKERSok | Дата: Вторник, 28.07.2009, 22:21 | Сообщение # 1 |
|
Группа:
Продвинутые
Сообщений: 811
Награды: 10
Город: Харьков
Репутация: 155
Замечания: 80%
Статус: 
| Короче у меня в моде вырезано обучение Как его поставить?
банер по проще Я понял, они будут принимать нашу рилигию за глазированные сырки © http://rghost.ru/36167118
|
| |
|
|
| Kweckey | Дата: Вторник, 28.07.2009, 22:32 | Сообщение # 2 |
|
Советчик
Группа:
Пользователи
Сообщений: 1149
Награды: 65
Город: townofgames.ru
Замечания: 100%
Статус: 
| ищи в обычном гф по tuttime
[url=http://townofgames.ru/][b]Любишь игры? Хочешь быть в курсе всех новостей? Заходи - [u]TownOfGames.ru[/u]![/b][/rul]
|
| |
|
|
| A-tubirion | Дата: Среда, 29.07.2009, 02:02 | Сообщение # 3 |
|
Новенький
Группа:
Пользователи
Сообщений: 42
Награды: 1
Город: Петербург
Репутация: 7
Замечания: 0%
Статус: 
| Вот тебе стандартное обучение [pwn] } if(TutTime[i] >= 1) { TutTime[i] += 1; if(TutTime[i] == 3) { SendClientMessage(i, COLOR_YELLOW2, "|____ Tutorial: The beginning ____|"); SendClientMessage(i, COLOR_YELLOW2, "Hi there, i can see that you are new, so here's a quick Tutorial."); SendClientMessage(i, COLOR_YELLOW2, "Every new players needs to know what he / she, can and can't do."); SendClientMessage(i, COLOR_YELLOW2, "I will give your quiet some information, so please pay attention to avoid questions later on."); } else if(TutTime[i] == 14) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Kind of server ____|"); } else if(TutTime[i] == 16) { SendClientMessage(i, COLOR_YELLOW2, "This server is a RP server which stands for Role Playing."); SendClientMessage(i, COLOR_YELLOW2, "We are absolutely not interested in players that just come along and Deathmatch."); SendClientMessage(i, COLOR_YELLOW2, "The name you have also matters alot, other players are getting used to your chosen name"); SendClientMessage(i, COLOR_YELLOW2, "so it's better to have a name like for example: Oliver_Wood."); SendClientMessage(i, COLOR_YELLOW2, "If you want to know more about how to RP, visit our forums and search for the topic."); SendClientMessage(i, COLOR_YELLOW2, "(You can find the forum on our webpage: http://www.godfather-rp.com"); } else if(TutTime[i] == 30) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Requesting Help ____|"); } else if(TutTime[i] == 32) { SendClientMessage(i, COLOR_YELLOW2, "If you are confused and would like to know some more information when you are ingame"); SendClientMessage(i, COLOR_YELLOW2, "simply just ask any Player or an Admin (/admins) in a common way."); SendClientMessage(i, COLOR_YELLOW2, "Just use common lines like: Hi, could you help me a sec please?"); SendClientMessage(i, COLOR_YELLOW2, "Don't start to shout or curse at someone, because it will only make you look worse.."); SendClientMessage(i, COLOR_YELLOW2, "And you might end up banned, which you want to skip of course."); SendClientMessage(i, COLOR_YELLOW2, "Use the commands /o (OOC) /w (Whisper) /sms (If you have the Phone Number) to talk to someone."); } else if(TutTime[i] == 52) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Cheating & Abusing ____|"); } else if(TutTime[i] == 54) { SendClientMessage(i, COLOR_YELLOW2, "We wish that n0beit was never made and we certainly don't allow players to use it."); SendClientMessage(i, COLOR_YELLOW2, "Thats why we don't want YOU to cheat, or allow other players to cheat."); SendClientMessage(i, COLOR_YELLOW2, "If you see someone cheating, please report it with /report right away."); SendClientMessage(i, COLOR_YELLOW2, "Bug abusing, or in any other way stuff abusing is just as bad as Cheating."); SendClientMessage(i, COLOR_YELLOW2, "So we don't want YOU to abuse aswell, simply use the /report as well if you see"); SendClientMessage(i, COLOR_YELLOW2, "someone abusing something."); } else if(TutTime[i] == 74) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Respect ____|"); } else if(TutTime[i] == 76) { SendClientMessage(i, COLOR_YELLOW2, "First of all I like to start with Admins, respect Admins in any way."); SendClientMessage(i, COLOR_YELLOW2, "We are all trying to keep everyony satisfied and trying to help everyone in anyway possible."); SendClientMessage(i, COLOR_YELLOW2, "Secondly, don't curse / shout / swear at other players, this will end you up muted / banned."); SendClientMessage(i, COLOR_YELLOW2, "Just treat people with respect, just like you want to be respected."); } else if(TutTime[i] == 96) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Drive-by ____|"); } else if(TutTime[i] == 98) { SendClientMessage(i, COLOR_YELLOW2, "We don't allow Drive-by's on this server, since it's lame and simple to kill."); SendClientMessage(i, COLOR_YELLOW2, "And it's deathmatching, which we definately don't allow."); SendClientMessage(i, COLOR_YELLOW2, "Don't do this if you don't want yourself to get banned."); } else if(TutTime[i] == 108) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Language & Advertising ____|"); } else if(TutTime[i] == 110) { SendClientMessage(i, COLOR_YELLOW2, "We'd like you to use English in any chat."); SendClientMessage(i, COLOR_YELLOW2, "If you want to talk with someone in your own Language, use the /w or /sms commands"); SendClientMessage(i, COLOR_YELLOW2, "Advertising is not allowed aswell, advertising will get you banned aswell."); } else if(TutTime[i] == 119) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: The End ____|"); } else if(TutTime[i] == 121) { SendClientMessage(i, COLOR_YELLOW2, "So that was it, probably obvious but we still want you to remember our rules."); SendClientMessage(i, COLOR_YELLOW2, "Just keep reminding them and have fun!"); SendClientMessage(i, COLOR_YELLOW2, "Greetings from: Role Play - The Godfather Admin Team."); } else if(TutTime[i] == 127) { TutTime[i] = 0; PlayerInfo[i][pTut] = 1; gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0; TogglePlayerControllable(i, 1); MedicBill[i] = 0; SetPlayerSpawn(i); }[/pwn] Вот в стандартном ГФ этот код впихнут в середину [color=blue]public[/blue] SetPlayerUnjail(), а точнее, после вот этих строчек [pwn] if(WantLawyer[i] == 20) { SendClientMessage(i, COLOR_LIGHTRED, "There is no Lawyer available to you anymore, Jail Time started."); WantLawyer[i] = 0; CallLawyer[i] = 0; }[/pwn]
|
| |
|
|
| SNIKERSok | Дата: Среда, 29.07.2009, 02:47 | Сообщение # 4 |
|
Группа:
Продвинутые
Сообщений: 811
Награды: 10
Город: Харьков
Репутация: 155
Замечания: 80%
Статус: 
| -_- я уже давно зделал и причём на русском
банер по проще Я понял, они будут принимать нашу рилигию за глазированные сырки © http://rghost.ru/36167118
|
| |
|
|
| Awm | Дата: Среда, 29.07.2009, 14:06 | Сообщение # 5 |
|
Группа:
I'm V.I.P.
Сообщений: 3235
Награды: 55
Город: Tallinn
Репутация: 1661
Замечания: 0%
Статус: 
| Quote (SNIKERSok) -_- я уже давно зделал и причём на русском crazy так для чего было тему создавать?
"Life is hard... life is harder if you're stupid." - John Wayne
|
| |
|
|
| SNIKERSok | Дата: Среда, 29.07.2009, 14:09 | Сообщение # 6 |
|
Группа:
Продвинутые
Сообщений: 811
Награды: 10
Город: Харьков
Репутация: 155
Замечания: 80%
Статус: 
| Я просто незнал как добавить 0_0 а потом мне подсказал Kweckey,
банер по проще Я понял, они будут принимать нашу рилигию за глазированные сырки © http://rghost.ru/36167118
|
| |
|
|
| wizar | Дата: Среда, 29.07.2009, 14:42 | Сообщение # 7 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 277
Награды: 2
Город: Алчевск
Репутация: -20
Замечания: 20%
Статус: 
| а как сделать обучение по команде,но чтобы можно было двигатся?
|
| |
|
|
| Awm | Дата: Среда, 29.07.2009, 14:47 | Сообщение # 8 |
|
Группа:
I'm V.I.P.
Сообщений: 3235
Награды: 55
Город: Tallinn
Репутация: 1661
Замечания: 0%
Статус: 
| Quote (wizar) чтобы можно было двигатся? TogglePlayerControllable(playerid, 1);
"Life is hard... life is harder if you're stupid." - John Wayne
|
| |
|
|
| wizar | Дата: Среда, 29.07.2009, 15:08 | Сообщение # 9 |
|
Уверенный в себе
Группа:
Продвинутые
Сообщений: 277
Награды: 2
Город: Алчевск
Репутация: -20
Замечания: 20%
Статус: 
| спс.а как сделать чтобы в течении определеннего времени незарегаешся ил ине авторизируешся чтобы кикало? Добавлено (29.07.2009, 15:08) --------------------------------------------- хотел сделать но выдает знаменытые 26 ошибок.Что Подскажите за ++ [pwn] if(strcmp(cmd, "/obuch", true) == 0) { if(IsPlayerConnected(playerid)) { if(TutTime[i] >= 1) { TutTime[i] += 1; if(TutTime[i] == 3) { SendClientMessage(i, COLOR_YELLOW2, "|____ Tutorial: The beginning ____|"); SendClientMessage(i, COLOR_YELLOW2, "Hi there, i can see that you are new, so here's a quick Tutorial."); SendClientMessage(i, COLOR_YELLOW2, "Every new players needs to know what he / she, can and can't do."); SendClientMessage(i, COLOR_YELLOW2, "I will give your quiet some information, so please pay attention to avoid questions later on."); } else if(TutTime[i] == 14) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Kind of server ____|"); } else if(TutTime[i] == 16) { SendClientMessage(i, COLOR_YELLOW2, "This server is a RP server which stands for Role Playing."); SendClientMessage(i, COLOR_YELLOW2, "We are absolutely not interested in players that just come along and Deathmatch."); SendClientMessage(i, COLOR_YELLOW2, "The name you have also matters alot, other players are getting used to your chosen name"); SendClientMessage(i, COLOR_YELLOW2, "so it's better to have a name like for example: Oliver_Wood."); SendClientMessage(i, COLOR_YELLOW2, "If you want to know more about how to RP, visit our forums and search for the topic."); SendClientMessage(i, COLOR_YELLOW2, "(You can find the forum on our webpage: http://www.godfather-rp.com "); } else if(TutTime[i] == 30) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Requesting Help ____|"); } else if(TutTime[i] == 32) { SendClientMessage(i, COLOR_YELLOW2, "If you are confused and would like to know some more information when you are ingame"); SendClientMessage(i, COLOR_YELLOW2, "simply just ask any Player or an Admin (/admins) in a common way."); SendClientMessage(i, COLOR_YELLOW2, "Just use common lines like: Hi, could you help me a sec please?"); SendClientMessage(i, COLOR_YELLOW2, "Don't start to shout or curse at someone, because it will only make you look worse.."); SendClientMessage(i, COLOR_YELLOW2, "And you might end up banned, which you want to skip of course."); SendClientMessage(i, COLOR_YELLOW2, "Use the commands /o (OOC) /w (Whisper) /sms (If you have the Phone Number) to talk to someone."); } else if(TutTime[i] == 52) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Cheating & Abusing ____|"); } else if(TutTime[i] == 54) { SendClientMessage(i, COLOR_YELLOW2, "We wish that n0beit was never made and we certainly don't allow players to use it."); SendClientMessage(i, COLOR_YELLOW2, "Thats why we don't want YOU to cheat, or allow other players to cheat."); SendClientMessage(i, COLOR_YELLOW2, "If you see someone cheating, please report it with /report right away."); SendClientMessage(i, COLOR_YELLOW2, "Bug abusing, or in any other way stuff abusing is just as bad as Cheating."); SendClientMessage(i, COLOR_YELLOW2, "So we don't want YOU to abuse aswell, simply use the /report as well if you see"); SendClientMessage(i, COLOR_YELLOW2, "someone abusing something."); } else if(TutTime[i] == 74) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Respect ____|"); } else if(TutTime[i] == 76) { SendClientMessage(i, COLOR_YELLOW2, "First of all I like to start with Admins, respect Admins in any way."); SendClientMessage(i, COLOR_YELLOW2, "We are all trying to keep everyony satisfied and trying to help everyone in anyway possible."); SendClientMessage(i, COLOR_YELLOW2, "Secondly, don't curse / shout / swear at other players, this will end you up muted / banned."); SendClientMessage(i, COLOR_YELLOW2, "Just treat people with respect, just like you want to be respected."); } else if(TutTime[i] == 96) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Drive-by ____|"); } else if(TutTime[i] == 98) { SendClientMessage(i, COLOR_YELLOW2, "We don't allow Drive-by's on this server, since it's lame and simple to kill."); SendClientMessage(i, COLOR_YELLOW2, "And it's deathmatching, which we definately don't allow."); SendClientMessage(i, COLOR_YELLOW2, "Don't do this if you don't want yourself to get banned."); } else if(TutTime[i] == 108) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: Language & Advertising ____|"); } else if(TutTime[i] == 110) { SendClientMessage(i, COLOR_YELLOW2, "We'd like you to use English in any chat."); SendClientMessage(i, COLOR_YELLOW2, "If you want to talk with someone in your own Language, use the /w or /sms commands"); SendClientMessage(i, COLOR_YELLOW2, "Advertising is not allowed aswell, advertising will get you banned aswell."); } else if(TutTime[i] == 119) { SendClientMessage(i, COLOR_YELLOW, "|____ Tutorial: The End ____|"); } else if(TutTime[i] == 121) { SendClientMessage(i, COLOR_YELLOW2, "So that was it, probably obvious but we still want you to remember our rules."); SendClientMessage(i, COLOR_YELLOW2, "Just keep reminding them and have fun!"); SendClientMessage(i, COLOR_YELLOW2, "Greetings from: Role Play - The Godfather Admin Team."); } else if(TutTime[i] == 127) { TutTime[i] = 0; PlayerInfo[i][pTut] = 1; gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0; MedicBill[i] = 0; SetPlayerSpawn(i); } return 1; } [/pwn]
|
| |
|
|
| CRUSH | Дата: Среда, 29.07.2009, 22:14 | Сообщение # 10 |
|
Местный
Группа:
Продвинутые
Сообщений: 531
Награды: 5
Город: SAMP
Репутация: 89
Замечания: 100%
Статус: 
| wizar, делай на подобии /pdd
Пишу скрипты,дорабатываю РП моды на заказ,не дорого - 607-559-798
|
| |
|
|
| SNIKERSok | Дата: Четверг, 30.07.2009, 00:04 | Сообщение # 11 |
|
Группа:
Продвинутые
Сообщений: 811
Награды: 10
Город: Харьков
Репутация: 155
Замечания: 80%
Статус: 
| Quote (|rsr|John) делай на подобии /pdd Кидай сюда /pdd
банер по проще Я понял, они будут принимать нашу рилигию за глазированные сырки © http://rghost.ru/36167118
|
| |
|
|
| A-tubirion | Дата: Четверг, 30.07.2009, 03:29 | Сообщение # 12 |
|
Новенький
Группа:
Пользователи
Сообщений: 42
Награды: 1
Город: Петербург
Репутация: 7
Замечания: 0%
Статус: 
| Вот здесь /pdd написано http://www.samp-rus.com/forum/17-7516-1
|
| |
|
|
| CRUSH | Дата: Четверг, 30.07.2009, 10:43 | Сообщение # 13 |
|
Местный
Группа:
Продвинутые
Сообщений: 531
Награды: 5
Город: SAMP
Репутация: 89
Замечания: 100%
Статус: 
| A-tubirion, в new все [pwn]new PDDTime[MAX_PLAYERS];[/pwn] Вставляешь после своего обучение вот это [pwn]if(PDDTime[i] >= 1) { PDDTime[i] += 1; if(PDDTime[i] == 3) { SendClientMessage(i, COLOR_YELLOW2, " Ôèëüì: Ìû ïðèâåòñòâóåì ðàäû ÷òî âû õîòèòå ñòàòü âîäèòåëåì!"); SendClientMessage(i, COLOR_YELLOW2, " Íî ñ íà÷àëà âàì íóæíî çíàòü ÏÄÄ íàøåãî øòàòà! "); } else if(PDDTime[i] == 6) { SendClientMessage(i, COLOR_GREEN, " ================================1. ÎÁÙÈÅ ÏÎËÎÆÅÍÈß============================= "); SendClientMessage(i, COLOR_YELLOW, " 1.1. Íàñòîÿùèå Ïðàâèëà äîðîæíîãî äâèæåíèÿ óñòàíàâëèâàþò åäèíûé ïîðÿäîê "); SendClientMessage(i, COLOR_YELLOW, " äîðîæíîãî äâèæåíèÿ íà âñåé òåððèòîðèè øòàòà San Andreas."); SendClientMessage(i, COLOR_YELLOW, " Äðóãèå íîðìàòèâíûå àêòû, êàñàþùèåñÿ äîðîæíîãî äâèæåíèÿ, äîëæíû îñíîâûâàòüñÿ íà òðåáîâàíèÿõ "); SendClientMessage(i, COLOR_YELLOW, " ïðàâèë è íå ïðîòèâîðå÷èòü èì. "); } else if(PDDTime[i] == 15) { SendClientMessage(i, COLOR_YELLOW, " 1.2. Çà ÏÄÄ â øòàòå ñëåäèò ïîëèöèÿ øòàòà. "); SendClientMessage(i, COLOR_YELLOW, " 1.3. Ó÷àñòíèêè äîðîæíîãî äâèæåíèÿ îáÿçàíû çíàòü è ñîáëþäàòü îòíîñÿùèåñÿ ê íèì òðåáîâàíèÿ ïðàâèë, çíàêîâ è ðàçìåòêè. "); SendClientMessage(i, COLOR_YELLOW, " 1.4. Íà äîðîãàõ óñòàíîâëåíî ïðàâîñòîðîííåå äâèæåíèå òðàíñïîðòíûõ ñðåäñòâ. "); SendClientMessage(i, COLOR_YELLOW, " 1.5. Ëèöà, íàðóøèâøèå Ïðàâèëà, îáÿçàíû óïëàòèòü øòðàô â ñîîòâåòñòâèè ñ íàðóøåííûìè ïðàâèëàìè. "); SendClientMessage(i, COLOR_YELLOW, " 1.6. Ëþáîé ïîëèöåéñêèé èìååò ïðàâî ïðèáûâàòü íà ñäà÷å íà ïðàâ òîãî èëè èíîãî ëèöà è çàïðåòèòü èõ âûäà÷ó. "); } else if(PDDTime[i] == 27) { SendClientMessage(i, COLOR_GREEN, " ================================2. Ïðàâà è îáÿçàííîñòè âîäèòåëÿ:============================= "); SendClientMessage(i, COLOR_YELLOW, " 2.1.  øòàòå äåéñòâóåò ïðàâèëî 'Ïîìåõà ñïðàâà' (íà ðàâíîñèëüíûõ ïåðåñå÷åíèÿõ äîðîã ïðè"); SendClientMessage(i, COLOR_YELLOW, " ïåðååçäå ïåðåêðåñòêà ïðîïóñòèòü òîãî, êòî ñïðàâà)."); SendClientMessage(i, COLOR_YELLOW, " 2.2. Âîäèòåëü îáÿçàí óïëàòèòü øòðàô, åñëè òîãî òðåáóåò äðóãîé âîäèòåëü, èìåþùèé íà òî ïðè÷èíó."); SendClientMessage(i, COLOR_YELLOW, " Ïðàâèë è íå ïðîòèâîðå÷èòü èì. "); } else if(PDDTime[i] == 39) { SendClientMessage(i, COLOR_YELLOW, " 2.3. Âîäèòåëü èìååò ïðàâî ïîòðåáîâàòü øòðàô ñ äðóãîãî âîäèòåëÿ, åñëè òîò ïðè÷èíèë åìó "); SendClientMessage(i, COLOR_YELLOW, " óùåðá, âîçìåùåíèå êîòîðîãî òðåáóåò äåíüãè. "); SendClientMessage(i, COLOR_YELLOW, " 2.3.1. Åñëè ñèòóàöèÿ ïðè ÄÒÏ ñïîðíàÿ, ðåêîìåíäóåòñÿ âûçâàòü ñîòðóäíèêà ïîëèöèè, êàê ìîæíî âûøå ïî ðàíãó. "); } else if(PDDTime[i] == 50) { SendClientMessage(i, COLOR_YELLOW, " 2.4. Âîäèòåëü îáÿçàí ïðîïóñòèòü ëþáîé àâòîìîáèëü ñ âêëþ÷åííûìè ïðîáëåñêîâûìè ìàÿ÷êàìè, à òàêæå Hummer è Cheetah, "); SendClientMessage(i, COLOR_YELLOW, " ïðèæàâøèñü è ïî âîçìîæíîñòè ïîëíîñòüþ îñòàíîâèâøèñü íà îáî÷èíå. Øòðàô: 750 "); SendClientMessage(i, COLOR_YELLOW, " 2.4.1. Íàðóøàòü ÏÄÄ èìåþò ïðàâî òîëüêî àâòîìîáèëè ñ âêëþ÷åííûìè ïðîáëåñêîâûìè ìàÿ÷êàìè, à òàêæå Hummer è Cheetah. "); SendClientMessage(i, COLOR_YELLOW, " 2.5. Åñëè âîäèòåëü íàðóøèë ÏÄÄ íåñêîëüêî ðàç, ñîòðóäíèê ïîëèöèè ìîæåò îòîáðàòü ïðàâà ó âîäèòåëÿ. "); SendClientMessage(i, COLOR_YELLOW, " Áîëåå ïîäðîáíûå ïðàâèëà âû ìîæåòå óçíàòü íà íàøåì ñàéòå: www.rsrp.3dn.ru "); } else if(PDDTime[i] == 65) { PDDTime[i] = 0; TogglePlayerControllable(i, 1); } }[/pwn] Потом добавляешь команду /pdd где все команды [pwn]if(strcmp(cmd, "/pdd", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerToPoint(3.0,playerid,1174.3197,1351.0402,10.9219)) { PDDTime[playerid] = 1; TogglePlayerControllable(playerid, 0); SendClientMessage(playerid, COLOR_WHITE," Ó÷èòåëü ïðîèçíåñ: Ñåé÷àñ âû ïîñìîòðèòå ôèëüì ïî Ïðàâèëàì Äîðîæíîãî Äâèæåíèÿ â øòàòå"); } else { SendClientMessage(playerid, COLOR_WHITE," Âû íå â øêîëå! "); } } return 1; }[/pwn] Дальше в public CustomPickups() Добавляешь вот это [pwn]else if (GetPlayerState(i) == 1 && PlayerToPoint(2.0, i,1174.3197,1351.0402,10.9219)) { GameTextForPlayer(i, "~g~ƒO€PO ŒO„A‡O‹A’,/pdd O€‘ ŒPO…A’ ŒPAB…‡A Œƒƒ", 5000, 3); }[/pwn] И добавляешь пикап [pwn]AddStaticPickup(1239, 2, 1174.3197,1351.0402,10.9219); //ПДД[/pwn] Координаты поменяешь точки от куда можно прочитать /pdd и всё
Пишу скрипты,дорабатываю РП моды на заказ,не дорого - 607-559-798
|
| |
|
|
| ZiGGi | Дата: Четверг, 30.07.2009, 11:34 | Сообщение # 14 |
|
Мастер джэдай
Группа:
Продвинутые
Сообщений: 2652
Награды: 34
Город: St. Petersburg
Репутация: 2102
Замечания: 20%
Статус: 
| [rsr]John, токо вот лучше делать пикап не в public CustomPickups() а в OnPlayerPickUpPickup в new'ы: new pddpickup; добавляем пикап в OnGameModeInit: pddpickup = CreatePickup(1239, 2, 1174.3197,1351.0402,10.9219); //ПДД в OnPlayerPickUpPickup: if(picupid == pddpickup) { if(GetPlayerState(i) == PLAYER_STATE_ONFOOT) GameTextForPlayer(i, "Text", 5000, 3); }Добавлено (30.07.2009, 11:33) --------------------------------------------- ошибочка в OnPlayerPickUpPickup: if(pickupid == pddpickup) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) GameTextForPlayer(i, "Text", 5000, 3); } Добавлено (30.07.2009, 11:34) --------------------------------------------- да емае! в OnPlayerPickUpPickup: if(pickupid == pddpickup) { if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) GameTextForPlayer(playerid, "Text", 5000, 3); }
Бложе [indent]Мой блог Уроки по Pawn[/indent]
Open-GTO [indent]Блог разработчиков GitHub: https://github.com/Open-GTO/Open-GTO Сборки мода с сервером тут[/indent]
|
| |
|
|
| CRUSH | Дата: Четверг, 30.07.2009, 15:52 | Сообщение # 15 |
|
Местный
Группа:
Продвинутые
Сообщений: 531
Награды: 5
Город: SAMP
Репутация: 89
Замечания: 100%
Статус: 
| [offtop] ZZiGGi, ну для кого как...для меня проще метод который я написал [/offtop]
Пишу скрипты,дорабатываю РП моды на заказ,не дорого - 607-559-798
|
| |
|
|
|
 |
|
 | |
| |
|