Vice City: Multiplayer

Server Development => Scripting and Server Management => Script and Content Requests => Topic started by: luchgox on Apr 17, 2017, 08:45 AM

Title: Need help!
Post by: luchgox on Apr 17, 2017, 08:45 AM
Hello, i really need that animation on player request class like EC while spawning & choosing classes sniper animination..any here could help me? i need it as snipped
Title: Re: Need help!
Post by: PunkNoodle on Apr 17, 2017, 04:09 PM
function onPlayerRequestClass( player, classID, team, skin )
{
    player.SetAnim( 21, 205 );
}
Title: Re: Need help!
Post by: luchgox on Apr 21, 2017, 08:43 AM
thank you punk i hope i will not eat you (noodle)
Title: Re: Need help!
Post by: luchgox on Apr 21, 2017, 08:57 AM
lol,again help me?by giving that snipped like if a player type brb server will message: +player.Name+ will be back later
Title: Re: Need help!
Post by: Cool on Apr 21, 2017, 10:33 AM
function onPlayerChat( player, text )
{
if ( text == "brb")
    {
    Message("[ "+ player.Name + " ] will Be Right Back!");
ShutdownServer();
    }
    else if ( text == "back")
    {
    Message("["+ player.Name + "] is Back now!");
ShutdownServer();
    }
}
This Should Work perfect but if you removed a single line may then its stop working :)
Title: Re: Need help!
Post by: luchgox on Apr 21, 2017, 11:59 AM
Cool,i have removed the line that you recommend ( ;) )
need another /disarm cmd
Title: Re: Need help!
Post by: luchgox on Apr 22, 2017, 04:55 PM
needed /disarm cmd
Title: Re: Need help!
Post by: Luis_Labarca on Apr 22, 2017, 04:59 PM
Quote from: QW.jester on Apr 22, 2017, 04:55 PMneeded /disarm cmd

if ( cmd == "disarm" )
{
if ( !player.Spawned ) PrivMessage( player,"You haven't spawned yet for use of command.");
else{
Message( "" + player + " Disarmed "  );
player.Disarm();
}
}
Title: Re: Need help!
Post by: luchgox on Apr 22, 2017, 06:09 PM
Thank you my friend :DDDD (Read PM)
Title: Re: Need help!
Post by: EK.IceFlake on Apr 22, 2017, 07:42 PM
https://forum.vc-mp.org/?topic=295.0
Title: Re: Need help!
Post by: luchgox on Apr 22, 2017, 11:01 PM
OK,you will not get it next time topic locked