Whoisespo Posted June 2, 2015 Share Posted June 2, 2015 Are there any event triggers like these for an example: onWeatherChangeEvent, onPlayerDeathEvent, onPlayerSpawnEvent, etc. *Besides onTick, onKeyDown, onKeyUp. Thanks Link to comment Share on other sites More sharing options...
Chloroethane Posted June 4, 2015 Share Posted June 4, 2015 Just use if statements. Ped player = Game.Player.Character;if (player.IsDead == true){ [event here]} Link to comment Share on other sites More sharing options...
Inco Posted June 4, 2015 Share Posted June 4, 2015 Look at https://github.com/crosire/scripthookvdotnet/wiki/Code-Snippets#tick-system-by-nacorpio Link to comment Share on other sites More sharing options...
c39687 Posted June 4, 2015 Share Posted June 4, 2015 You can make your own event but you still need to use the tick event to watch for your event to happen, so yeah just use a tick and ifs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now