Ledger Nano X - The secure hardware wallet
SHARE
TWEET

..::Acc-Las Venturas Gate::..

Accardo Apr 24th, 2011 331 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // =========================================
  2. // Acc-Las Venturan Toll Gate by Accardo
  3. // Do Not Remove The Credits
  4. // ========================================
  5.  
  6. #include <a_samp>
  7.  
  8. new lvgate1;
  9. new lvgate2;
  10. new lvgate3;
  11. new lvgate4;
  12.  
  13. #define COLOR_LIGHTSTEELBLUE 0xB0C4DEFF
  14. #if defined FILTERSCRIPT
  15.  
  16.  
  17. public OnFilterScriptInit()
  18. {
  19.         print("\n--------------------------------------");
  20.         print(" Acc-Las Venturas Toll Gate by Accardo");
  21.         print("--------------------------------------\n");
  22.         return 1;
  23. }
  24.  
  25. public OnFilterScriptExit()
  26. {
  27.         return 1;
  28. }
  29. #endif
  30.  
  31. public OnGameModeInit()
  32. {
  33.     CreateObject(5837,1785.27075195,804.97668457,11.76211929,0.00000000,0.00000000,86.74804688); //object(ci_guardhouse1) (1)
  34.     CreateObject(5837,1810.01831055,804.54595947,11.75215054,0.00000000,0.00000000,269.24743652); //object(ci_guardhouse1) (2)
  35.     CreateObject(9623,1797.87353516,818.13256836,12.82830238,0.00000000,0.00000000,358.49499512); //object(toll_sfw) (1)
  36.     CreateObject(983,1780.91271973,800.40093994,10.82299900,0.00000000,0.00000000,270.00000000); //object(fenceshit3) (1)
  37.     CreateObject(983,1784.98474121,828.23999023,10.35542965,0.00000000,0.00000000,268.99475098); //object(fenceshit3) (3)
  38.     CreateObject(983,1779.53552246,825.75695801,10.34790134,0.00000000,0.00000000,320.49902344); //object(fenceshit3) (4)
  39.     CreateObject(983,1811.41687012,827.96588135,10.34790134,0.00000000,0.00000000,270.24719238); //object(fenceshit3) (5)
  40.     CreateObject(14637,1797.32202148,813.64495850,15.48931789,0.00000000,0.00000000,270.00000000); //object(triad_dragon) (1)
  41.     CreateObject(7415,1797.59838867,776.68121338,20.59438705,0.00000000,0.00000000,116.50000000); //object(vgswlcmsign1) (1)
  42.     CreateObject(3471,1797.00646973,809.32537842,12.16534233,0.00000000,0.00000000,270.00000000); //object(vgschinalion1) (1)
  43.     CreateObject(3471,1806.41552734,809.01104736,12.16534233,0.00000000,0.00000000,270.00000000); //object(vgschinalion1) (2)
  44.     CreateObject(3471,1788.40942383,810.16668701,12.16534233,0.00000000,0.00000000,270.00000000); //object(vgschinalion1) (3)
  45.     CreateObject(8618,1822.91650391,813.83038330,22.82621574,0.00000000,0.00000000,332.00000000); //object(ceasersign_lvs) (2)
  46.     CreateObject(8618,1772.31652832,817.94519043,22.65559769,0.00000000,0.00000000,38.00000000); //object(ceasersign_lvs) (3)
  47.     CreateObject(983,1816.36547852,825.46752930,10.40772247,0.00000000,0.00000000,34.00000000); //object(fenceshit3) (2)
  48.     CreateObject(966,1805.18920898,808.28643799,9.97126770,0.00000000,0.00000000,0.00000000); //object(bar_gatebar01) (1)
  49.     CreateObject(966,1789.16723633,808.43273926,9.97256374,0.00000000,0.00000000,178.00000000); //object(bar_gatebar01) (2)
  50.    
  51.     lvgate1 = CreateObject(968,1805.1512,808.2490,10.9712,0.00000000,268.00000000,0.00000000); //object(barrierturn) (1)
  52.     lvgate2 = CreateObject(968,1788.9606,808.4401,10.8725,0.00000000,90.00000000,358.00000000); //object(barrierturn) (2)
  53.         return 1;
  54. }
  55.  
  56. public OnPlayerCommandText(playerid, cmdtext[])
  57. {
  58.         if(strcmp(cmdtext, "/openlv", true) == 0)
  59.         {
  60.            if(IsPlayerInRangeOfPoint(playerid, 30.0,1805.1512,808.2490,10.9712))
  61.            {
  62.               DestroyObject( lvgate1 );
  63.               DestroyObject( lvgate2 );
  64.           lvgate3 = CreateObject(968,1805.15039062,808.24902344,10.97126770,0.00000000,0.00000000,0.00000000); //object(barrierturn) (1)
  65.           lvgate4 = CreateObject(968,1789.11596680,808.39190674,10.97256374,0.00000000,0.00000000,0.00000000); //object(barrierturn) (2)
  66.           GivePlayerMoney(playerid, -1000);
  67.           SendClientMessage(playerid, COLOR_LIGHTSTEELBLUE,"Las Venturas Toll Open, You Pay $1000 For It");
  68.           return 1;
  69.            }
  70.            return 1;
  71.         }
  72.        
  73.         if(strcmp(cmdtext, "/closelv", true) == 0)
  74.         {
  75.            if(IsPlayerInRangeOfPoint(playerid, 30.0,1805.1512,808.2490,10.9712))
  76.            {
  77.                    DestroyObject( lvgate3 );
  78.                    DestroyObject( lvgate4 );
  79.                    lvgate1 = CreateObject(968,1805.1512,808.2490,10.9712,0.00000000,268.00000000,0.00000000); //object(barrierturn) (1)
  80.            lvgate2 = CreateObject(968,1788.9606,808.4401,10.8725,0.00000000,90.00000000,358.00000000); //object(barrierturn) (2)
  81.                    SendClientMessage(playerid, COLOR_LIGHTSTEELBLUE,"Las Venturas Toll Close, Thanks For Close It");
  82.                    return 1;
  83.            }
  84.         }
  85.         return 1;
  86. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top