Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: Humzasajjad on Oct 02, 2018, 06:36 PM

Title: Modification
Post by: Humzasajjad on Oct 02, 2018, 06:36 PM
else if(cmd == "dance1")
 {
 player.SetAnim( 28, 226 )
 }
It is working but can anybody modify this..That if we type this cmd there was also a meesage of player...plz help me..
Sorry for posting again
Title: Re: Modification
Post by: Xhefri on Oct 02, 2018, 06:41 PM
Use this to send a message that only the player can see:

MessagePlayer( "[#FF4500]WRITE THE TEXT HERE ", player );
And this to send message to everyone in server:

Message("[#FF4500]WRITE THE TEXT HERE");
Title: Re: Modification
Post by: Humzasajjad on Oct 02, 2018, 06:44 PM
Quote from: Xhefri on Oct 02, 2018, 06:41 PMUse this to send a message that only the player can see:

MessagePlayer( "[#FF4500]WRITE THE TEXT HERE ", player );
And this to send message to everyone in server:

Message("[#FF4500]WRITE THE TEXT HERE");
i am new but u know how to do can u please add in this.....
else if(cmd == "dance1")
 {
 player.SetAnim( 28, 226 )
 }
Title: Re: Modification
Post by: Xhefri on Oct 02, 2018, 06:45 PM
else if(cmd == "dance1")
 {
player.SetAnim( 28, 226 )
MessagePlayer( "[#FF4500]You are using anim Dance1 ", player );
 }
Title: Re: Modification
Post by: Humzasajjad on Oct 03, 2018, 09:00 AM
Thanks Bro!!