02.08.2010, 20:01
Quote:
so. can i have gates that rotate, instead of go up and down?
how would i do this? |
If you still wish to rotate the gate just add this to the script (where the OnPlayerCommand callback is (in the strcmp section)) - (this is only if you want to rotate one gate on the individual gate command.
pawn Код:
if(Gates[i][command] == {YOUR GATE COMMAND})
{
SetObjectRot({YOUR GATE ID}, {ITS NEW ROTATION});
}
Код:
{ and }