»
Привет Гость:)

Language: ENG / UA / RU / CN / AR |

[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » SA-MP [ PAWNO ] San Andreas Multiplayer » [FS] » [Map] [REL] Adromeda jump [REL]
[Map] [REL] Adromeda jump [REL]
BELIYДата: Пт, 16.03.2012, 04:24 | Сообщение # 1
:)
Группа: Администратор
Сообщений: 742
Статус: Offline

Code
// Andromeda in de lucht voor jump
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

new jump;

public OnFilterScriptInit()
{
  print("\n--------------------------------------");
  print(" Andromeda jump");
  print("--------------------------------------\n");
  jump = CreatePickup(371, 3, 1488.911987, -1720.625976, 8.232694, -1);
  AddStaticVehicleEx(421,1543.02819824,-1706.39392090,3206.59277344,0.00000000,-1,-1,15); //Auto
  AddStaticVehicleEx(421,1543.14746094,-1715.32324219,3208.65356445,0.00000000,-1,-1,15); //Auto
  AddStaticVehicleEx(421,1543.08557129,-1698.95043945,3204.87524414,0.00000000,-1,-1,15); //Auto
  CreateObject(14553,1542.70593262,-1710.50146484,3208.59326172,0.00000000,0.00000000,0.00000000); //Het vliegtuig
  CreateObject(14548,1542.70507812,-1710.50097656,3208.59326172,0.00000000,0.00000000,0.00000000); //Vliegtuig van binnen
  return 1;
}

public OnFilterScriptExit()
{
  return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
  if (strcmp("/jump", cmdtext, true, 10) == 0)
  {
   SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
   GivePlayerWeapon(playerid, 46, 1);
   GivePlayerWeapon(playerid, 45, 1);
   return 1;
  }
  return 0;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == jump) {
  SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
   GivePlayerWeapon(playerid, 45, 1);
   }
   if(pickupid == 371) {
   SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
   GivePlayerWeapon(playerid, 45, 1);
   }
  return 1;
}

#endif


(''')о___о(''')
-\ '( о_о )' /-
--\ \_Ш_/ /-- ПРЕВЕД !!!!
---l . . . . l--- KF.at.UA
--/ ./ U \. \--
-(„„„)__(„„„)-
:)
 
Форум » SA-MP [ PAWNO ] San Andreas Multiplayer » [FS] » [Map] [REL] Adromeda jump [REL]
  • Страница 1 из 1
  • 1
Поиск:


Copyright ISP.at.ua ©® 2012-2020™ V2-версия шаблона | Design by KF.AT.UA ©®™
| |
Myserver.do.am |
Sitemap | Sitemap-forum | Хостинг от uCoz