Advertisement
Guest User

Adromeda jump

a guest
Dec 13th, 2010
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.58 KB | None | 0 0
  1. // Andromeda in de lucht voor jump
  2. #define FILTERSCRIPT
  3.  
  4. #include <a_samp>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8. new jump;
  9.  
  10. public OnFilterScriptInit()
  11. {
  12.     print("\n--------------------------------------");
  13.     print(" Andromeda jump");
  14.     print("--------------------------------------\n");
  15.     jump = CreatePickup(371, 3, 1488.911987, -1720.625976, 8.232694, -1);
  16.     AddStaticVehicleEx(421,1543.02819824,-1706.39392090,3206.59277344,0.00000000,-1,-1,15); //Auto
  17.     AddStaticVehicleEx(421,1543.14746094,-1715.32324219,3208.65356445,0.00000000,-1,-1,15); //Auto
  18.     AddStaticVehicleEx(421,1543.08557129,-1698.95043945,3204.87524414,0.00000000,-1,-1,15); //Auto
  19.     CreateObject(14553,1542.70593262,-1710.50146484,3208.59326172,0.00000000,0.00000000,0.00000000); //Het vliegtuig
  20.     CreateObject(14548,1542.70507812,-1710.50097656,3208.59326172,0.00000000,0.00000000,0.00000000); //Vliegtuig van binnen
  21.     return 1;
  22. }
  23.  
  24. public OnFilterScriptExit()
  25. {
  26.     return 1;
  27. }
  28.  
  29. public OnPlayerCommandText(playerid, cmdtext[])
  30. {
  31.     if (strcmp("/jump", cmdtext, true, 10) == 0)
  32.     {
  33.         SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
  34.         GivePlayerWeapon(playerid, 46, 1);
  35.         GivePlayerWeapon(playerid, 45, 1);
  36.         return 1;
  37.     }
  38.     return 0;
  39. }
  40.  
  41. public OnPlayerPickUpPickup(playerid, pickupid)
  42. {
  43.     if(pickupid == jump) {
  44.     SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
  45.         GivePlayerWeapon(playerid, 45, 1);
  46.         }
  47.         if(pickupid == 371) {
  48.         SetPlayerPos(playerid, 1541.9645996094, -1731.9515380859, 3211.8000488281);
  49.         GivePlayerWeapon(playerid, 45, 1);
  50.         }
  51.     return 1;
  52. }
  53.  
  54. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement