24.06.2012, 05:58
I thought you want to make it move down, don't you? Decreasing the Z coord makes it go down.
Also you needn't have changed new gate[2]; to new gate[1];, let everything as I gave you just add your /o1 command code under my comment. This comment:
And the errors are because the wrong placement. Like
should be under OnGameModeInit or OnFilterScriptInit. And the commands must be under OnPlayerCommandText
Also you needn't have changed new gate[2]; to new gate[1];, let everything as I gave you just add your /o1 command code under my comment. This comment:
pawn Код:
/*
Continue, make a command to open the second gate just like I did above.
But make sure to change gate[0] to gate[1] and also the coords.
*/
pawn Код:
gate[0] = CreateObject(971, -1060.2998046875, -1338.19921875, 132.5, 0, 0, 347.99743652344);
gate[1] = CreateObject(971, -1046.7998046875, -1334.3994140625, 132.60000610352, 0, 0, 347.99743652344);