30.07.2013, 02:00
I was wondering since i dont know about scripting if you can make a moving gate like you have the cords but you change the cords to make it move left and right like below.
VVVV
Code:
VVVV
Code:
Quote:
public OnGameModeInit() { SetGameModeText("Blank Script"); AddPlayerClass(0, 1289.63, -1716.29, 22.19, 0, 0, 0, 0, 0, 0); CreateObject(2949, 1297.51, -1715.94, 12.00, 0.00, 0.00, 0.00); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/test", cmdtext, true, 10) == 0) { SetObjectPos(2949, 1297.5087, -1714.9415, 12.0000); return 1; } return 0; } |