Advertisement
FarzamZhoon

Lou land gate ;_;

Jul 10th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.85 KB | None | 0 0
  1. // Lou's MTA Doesn't contain a gate and noobs are in my house. So I scripted a gate for it.
  2.  
  3. #include a_samp
  4. #include zcmd
  5. #include streamer
  6.  
  7. new gate;
  8.  
  9. public OnFilterScriptInit()
  10. {
  11.     gate = CreateDynamicObject(980,-1258.1000000,208.3000000,15.9000000,0.0000000,0.0000000,45.1000000); //object(airportgate) (1)
  12.     CreateDynamic3DTextLabel("{999966}Lou's Land", -1, -1258.1,207.5,14.1, 40.0, 0, INVALID_PLAYER_ID);
  13.     return 1;
  14. }
  15.  
  16. CMD:loulandopen(playerid,params[])
  17. {
  18.     MoveDynamicObject(gate,-1258.1000000,208.3000000,8.9000000, 3.0);
  19.     SendClientMessage(playerid, -1, "{ff6600}[Lou's House]{ff0000} Welcome to Lou's MTA.");
  20.     return 1;
  21. }
  22. CMD:loulandclose(playerid,params[])
  23. {
  24.     MoveDynamicObject(gate,-1258.10,208.30,15.9, 3.0);
  25.     SendClientMessage(playerid, -1, "{ff6600}[Lou's House]{ff0000} Gate has been closed. Good bye.");
  26.     return 1;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement