Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: [VM_U]Spectra.PhantoM^ on Jan 22, 2016, 09:11 AM

Title: Troll Just Got Better!
Post by: [VM_U]Spectra.PhantoM^ on Jan 22, 2016, 09:11 AM
You might be thinking right? you would ask urself whats the difference in this troll cmd and the one that zihad built? well instead of killing the player.... IT NUKES EM.In other words blows the crap out of a person. XD.
Credits: Me(Modifying Idea), Zihad(Original Idea)

function onPlayerCommand( player, cmd, text )
{

 if(cmd == "troll")
{
Message("** " + player.Name + " is in trouble help him by typing /helphim");
}

else if(cmd == "helphim")
{
 MessagePlayer("You got NUKED xD", player);
 CreateExplosion( player.World, 6, player.Pos.x, player.Pos.y, player.Pos.z, -1, true );
 Message("** " + player.Name + " has been trolled And Nuked XD !");
 Message("** If you dont wanna be trolled then type /notroll")
}

else if(cmd == "notroll")
{
 MessagePlayer("You got NUKED  xD ", player);
 CreateExplosion( player.World, 6, player.Pos.x, player.Pos.y, player.Pos.z, -1, true );
 Message("** " + player.Name + " has been trolled And Nuked XD !");
 Message("** If you dont wanna be trolled then type /notroll")
}
}
Tested.
Title: Re: Troll Just Got Better!
Post by: Anik on Jan 22, 2016, 09:18 AM
LOL only one line got changed
CreateExplosion( player.World, 6, player.Pos.x, player.Pos.y, player.Pos.z, -1, true );
Title: Re: Troll Just Got Better!
Post by: [VM_U]Spectra.PhantoM^ on Jan 22, 2016, 09:21 AM
Quote from: [DS]Anik on Jan 22, 2016, 09:18 AMLOL only one line got changed
CreateExplosion( player.World, 6, player.Pos.x, player.Pos.y, player.Pos.z, -1, true );
did u read? -_-

Quote from: {ultimatejugo] on Jan 22, 2016, 09:18 AMCredits: Me(Modifying)
Its modified. its not a completely different snippet.

Title: Re: Troll Just Got Better!
Post by: Anik on Jan 22, 2016, 10:14 AM
Quote from: {ultimatejugo] on Jan 22, 2016, 09:21 AMdid u read? -_-
Quote from: {ultimatejugo] on Jan 22, 2016, 09:18 AMCredits: Me(Modifying)
Its modified. its not a completely different snippet.
What so special if you are changing only one line -_-
Title: Re: Troll Just Got Better!
Post by: Human on Jan 22, 2016, 11:04 AM
Ultimatejugo
Title: Re: Troll Just Got Better!
Post by: [VM_U]Spectra.PhantoM^ on Jan 22, 2016, 11:17 AM
Quote from: [DS]Anik on Jan 22, 2016, 10:14 AM
Quote from: {ultimatejugo] on Jan 22, 2016, 09:21 AMdid u read? -_-
Quote from: {ultimatejugo] on Jan 22, 2016, 09:18 AMCredits: Me(Modifying)
Its modified. its not a completely different snippet.
What so special if you are changing only one line -_-
not special to me but special to newbies .
Quote from: [PP]SilenT on Jan 22, 2016, 11:04 AMUltimatejugo
yes?
Title: Re: Troll Just Got Better!
Post by: KAKAN on Jan 22, 2016, 03:53 PM
Quote from: [PP]SilenT on Jan 22, 2016, 11:04 AMUltimatejugo
He's special in this snip :P
Title: Re: Troll Just Got Better!
Post by: Thijn on Jan 24, 2016, 09:46 PM
Why copy paste a command two times when it does exactly the same.
Use if ( cmd == "helphim" || cmd == "notroll" )