23.06.2012, 07:11
I kinda need help. I need kill timer for defined vehicle.
Example:
rhino1 = createvehicle(.......
public OnVehicleExit....
}
If vehicle is rhino1
}
Kill(rhino1timer);
return 1;
}
public OnVehicleDeath(....)
}
If vehicle is rhino1
}
KillTimer(rhino1timer);
return 1;
}
Can someone help me with this, i got 9 rhinos and i need only them to kill timer when players exits from vehicle or vehicle gets destroyed. My idea on these rhinos are: they will be available to drive only for 5 minutes, after timer expire, they will be automatically ejected and rhino will respawn. I need to check defined car (rhino1 ....) and kill timer that is for rhino1. Some help?
P.S. : I hope you guys understand this, if not ask me, i try to explain it closely.
Example:
rhino1 = createvehicle(.......
public OnVehicleExit....
}
If vehicle is rhino1
}
Kill(rhino1timer);
return 1;
}
public OnVehicleDeath(....)
}
If vehicle is rhino1
}
KillTimer(rhino1timer);
return 1;
}
Can someone help me with this, i got 9 rhinos and i need only them to kill timer when players exits from vehicle or vehicle gets destroyed. My idea on these rhinos are: they will be available to drive only for 5 minutes, after timer expire, they will be automatically ejected and rhino will respawn. I need to check defined car (rhino1 ....) and kill timer that is for rhino1. Some help?
P.S. : I hope you guys understand this, if not ask me, i try to explain it closely.