Vice City: Multiplayer

Server Development => Scripting and Server Management => Topic started by: Mr.nobOdy on February 21st, 2019, 12:44 PM

Title: Need some Suggestion.
Post by: Mr.nobOdy on February 21st, 2019, 12:44 PM
I want that when player died it give message e.g
like this but on which function i add this
Message( ">>[#F5FFFA]"+player.Name+" [#7bb215] has[#06FA16]died." );
Title: Re: Need some Suggestion.
Post by: DarkRaZoR^ on February 21st, 2019, 12:50 PM
The onPlayerDeath callback is probably what you're looking for. Click here(http://wiki.vc-mp.org/wiki/OnPlayerDeath) for more information.
Title: Re: Need some Suggestion.
Post by: Mr.nobOdy on February 22nd, 2019, 10:01 AM
Quote from DarkRaZoR^ on February 21st, 12:50 PM
The onPlayerDeath callback is probably what you're looking for. Click here(http://wiki.vc-mp.org/wiki/OnPlayerDeath) for more information.
Thanks solved!