17.01.2013, 00:24
(
Последний раз редактировалось yourfunworld; 17.01.2013 в 10:08.
)
There was another post I made so this may look like a double post, but the other post I edited everything out due to it being in the wrong section. 
This script was meant for trolls and I decided to make it, for rcon admins who feel trollish. :P
Rep would be thanked for greatly, but I know since this is so basic I most likely won't get anything but oh well. :P
If you are just someone browsing through everything and want a server just look at my signature. 
It adds commands: /yfwtroll and /yfwrick
/yfwtroll - Plays the trololol song on every client
/yfwrick - Plays the Rickroll song on every client

This script was meant for trolls and I decided to make it, for rcon admins who feel trollish. :P
Rep would be thanked for greatly, but I know since this is so basic I most likely won't get anything but oh well. :P
Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Troll and Rickroll by John aka yourfunworld");
print(" Check out my dedicated server at samp.yourfunworld.com:7777");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
print("Thanks for using my script. :P");
return 1;
}
CMD:yfwrick(playerid, params[])
{
#pragma unused params
if (IsPlayerAdmin(playerid))
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayAudioStreamForPlayer(i,"http://haxbyjaku.com/rrrproxy/rickroll.mp3");
SendClientMessage(i, COLOR_RED, "YOU JUST GOT RICKROLLED!");
}
return 1;
}
}
CMD:yfwtroll(playerid, params[])
{
#pragma unused params
if (IsPlayerAdmin(playerid))
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
PlayAudioStreamForPlayer(i,"http://a.tumblr.com/tumblr_lr111o8nqD1qj6d2ro1.mp3");
SendClientMessage(i, COLOR_RED, "YOU JUST GOT TROLLED!");
}
return 1;
}
}
# Please do not remove my credits.. It's pretty much hidden anyway and not advertised. :)
CMD:yfwcredits(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "YFWTroll & Rickroll Script by yourfunworld");
return 1;
}
#endif

It adds commands: /yfwtroll and /yfwrick
/yfwtroll - Plays the trololol song on every client
/yfwrick - Plays the Rickroll song on every client


