19.01.2015, 03:50
Okey, you need to move it.. you need x,y,z open gates, ant close. simple example
new gates;
public OnGameModeInit()
gates = CreateObject(gatesID,x,y,z, 0.00000, 0.00000, 0.00000);
}
CMD: open(playerid, params[])
{
MoveObject(gates, Open gates cords ,moving speed);
GameTextForPlayer(playerid, "~R~ Opening!", 3000, 5);
return 1;
}
new gates;
public OnGameModeInit()
gates = CreateObject(gatesID,x,y,z, 0.00000, 0.00000, 0.00000);
}
CMD: open(playerid, params[])
{
MoveObject(gates, Open gates cords ,moving speed);
GameTextForPlayer(playerid, "~R~ Opening!", 3000, 5);
return 1;
}