08.07.2010, 07:49
Wow dude, bumping after 22 minutes is just unnecessary. Well, I can see that you are using a gf edit which can make it a bit messy. Well you need a variable checking if the gate is open. For example,
Код:
if (Policedata[gate] == 1) Then add in the horn key in OnPlayerKeyStatsChange beneath the variable. Then you need to make it move which is the MoveObject function. After that you should also put the variable as. Policedata[gate] = 0; which mean's it's closed. then finnish that one and next if(Policedata[gate] == 0) { bla bla etc. almost the same