Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new gate;
- Gate = CreateObject(18769, -2296.1228, -106.0165, 33.6155, 0.0, 0.0, 0.0, 100.0);
- CMD:admingate(playerid, params[])
- {
- if(IsPlayerInRangeOfPoint(playerid, 15.0, -2296.1228, -106.0165, 33.6155)){
- SetTimerEx("CloseGate", 12000, false, "i", playerid);
- MoveObject(Gate, -2296.1228, -106.0165, 23.0414, 3.0, 0.0, 0.0, 0.0);
- return 1;
- }
- }
- forward CloseGate(playerid);
- public CloseGate(playerid)
- {
- MoveObject(Gate, -2296.1228, -106.0165, 33.6155, 3.0, 0.0, 0.0, 0.0);
- }
Advertisement
Add Comment
Please, Sign In to add comment