Vice City: Multiplayer

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

Title: Need some Suggestion.
Post by: Mr.nobOdy on Feb 21, 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: D4rkR420R on Feb 21, 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 Feb 22, 2019, 10:01 AM
Quote from: DarkRaZoR^ on Feb 21, 2019, 12:50 PMThe onPlayerDeath callback is probably what you're looking for. Click here (http://wiki.vc-mp.org/wiki/OnPlayerDeath) for more information.
Thanks solved!