SA-MP Forums Archive
[FilterScript] Minigun Troll - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Minigun Troll (/showthread.php?tid=382712)



Minigun Troll - NoahF - 04.10.2012

Hey guys, I was really bored so I decided to make a funny script.
When a player connects, they will get sent a message saying that if they type /minigun, they will get a minigun with 5000 ammo. This is great to fool those "wannabe hackers" who think they can get a minigun and wreak havoc.

Features:
So the player types it, and they think they got a minigun when suddenly, a bunch of shit happens to them! Their color gets set to a bright pink, if they are in a car, the car's colors get turned bright pink, they get their skin set to a hillbilly, fat girl(ID 200), a dumpster gets attached to them, their health gets set to 1.0, a song called "Umad bro" by Team Headkick starts playing, and they get some drunk effects.
I designed this with features and revenge/fun/loling in mind. Feel free to edit this however you like, just don't remove the credits, and make sure you ALWAYS give me credit.

Download v1.0: http://www.mediafire.com/?3da4yhd676ce2h8

Pastebin v1.0: http://pastebin.com/Rd2xXRue

This FilterScript HAS been tested by me and works perfectly.

Enjoy!
Thanks to Zeex for zCMD.


Re: Minigun Troll - Ghost_Boii - 04.10.2012

Nice i like it


Re: Minigun Troll - NoahF - 04.10.2012

Quote:
Originally Posted by Ghost_Boii
Посмотреть сообщение
Nice i like it
Thanks.


Re: Minigun Troll - lilmar - 04.10.2012

lol cool.


Re: Minigun Troll - RaZzZzoR - 04.10.2012

I think : Justin Bieber - Baby
Sounds better =))
Anyway, good job.


Re: Minigun Troll - .v - 05.10.2012

and add attached object like chainsaw d1ck in his face.


Re: Minigun Troll - DeadLy™ - 05.10.2012

Lool Nice FS.
+Rep Dude


Re: Minigun Troll - NoahF - 05.10.2012

Quote:
Originally Posted by .v
Посмотреть сообщение
and add attached object like chainsaw d1ck in his face.
Good suggestion! It would be funny, but I don't know how to get the coordinates or position for the dick on the characters body.

Quote:

05/10/2012 06:57 AM
talkro
Re: Minigun Troll
Lool Nice FS.
+Rep Dude

Thanks!


Re: Minigun Troll - C00K13M0N$73R - 05.10.2012

Badly scripted

pawn Код:
CreateObject(910, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(910, playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
//And
public dumpsterdeletetimer()
{
        DestroyObject(910);
}
That isnt the modelid you need to attach, its the object name.
eg
pawn Код:
new object[MAX_PLAYERS];//Outside of any callbacks
object[playerid] = CreateObject(910, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(object[playerid], playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
pawn Код:
public dumpsterdeletetimer()
{
        DestroyObject(object[playerid]);
}



Re: Minigun Troll - jpeg - 05.10.2012

Good ;/