daily pastebin goal
41%
SHARE
TWEET

Untitled

a guest Jul 22nd, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <a_samp>
  2.  
  3. new IslandGate;
  4. forward ISLANDGATE();
  5.  
  6. public OnFilterScriptInit()
  7. {
  8.     print("\n--------------------------------------");
  9.     print(" Private Island gate has been loaded.");
  10.     print("--------------------------------------\n");
  11.    
  12.     IslandGate = CreateObject(980,182.19921875,-2278.79980469,3.40000010,0.00000000,0.00000000,90.00000000); //object(airportgate) (1) CLOSED
  13.     //CreateObject(980,182.19921875,-2278.79980469,-5.00000000,0.00000000,0.00000000,90.00000000); //object(airportgate) (1) OPENED
  14.     return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19.     return 1;
  20. }
  21.  
  22. public OnPlayerCommandText(playerid, cmdtext[])
  23. {
  24.     if (strcmp("/privateisland123", cmdtext, true, 10) == 0)
  25.     {
  26.         MoveObject(IslandGate, 182.19921875,-2278.79980469,-5.00000000, 2.0, 0.0, 0.0, 90.0);
  27.         SendClientMessage(playerid, 0xFF0000AA, "Welkom op fabio's, Quinc's, Victor's en dub's Island!");
  28.         SetTimer("ISLANDGATE", 5000, false);
  29.         return 1;
  30.     }
  31.     return 0;
  32. }
  33.  
  34. public ISLANDGATE()
  35. {
  36.     MoveObject(IslandGate, 182.19921875,-2278.79980469,3.40000010, 2.0, 0.0, 0.0, 90.0);
  37.     return 1;
  38. }
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