Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Lou's MTA Doesn't contain a gate and noobs are in my house. So I scripted a gate for it.
- #include a_samp
- #include zcmd
- #include streamer
- new gate;
- public OnFilterScriptInit()
- {
- gate = CreateDynamicObject(980,-1258.1000000,208.3000000,15.9000000,0.0000000,0.0000000,45.1000000); //object(airportgate) (1)
- CreateDynamic3DTextLabel("{999966}Lou's Land", -1, -1258.1,207.5,14.1, 40.0, 0, INVALID_PLAYER_ID);
- return 1;
- }
- CMD:loulandopen(playerid,params[])
- {
- MoveDynamicObject(gate,-1258.1000000,208.3000000,8.9000000, 3.0);
- SendClientMessage(playerid, -1, "{ff6600}[Lou's House]{ff0000} Welcome to Lou's MTA.");
- return 1;
- }
- CMD:loulandclose(playerid,params[])
- {
- MoveDynamicObject(gate,-1258.10,208.30,15.9, 3.0);
- SendClientMessage(playerid, -1, "{ff6600}[Lou's House]{ff0000} Gate has been closed. Good bye.");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement