SA-MP Forums Archive
[FilterScript] RickRoll FS - [0.3d] - Rickroll all players - ZCMD - 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] RickRoll FS - [0.3d] - Rickroll all players - ZCMD (/showthread.php?tid=301776)



RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Deltac0_ - 05.12.2011

Just coded this in few minutes. Works only with 0.3d. Make sure you have ZCMD.

Command: /rickroll

NOTE: Anyone can use this command, I suggest to make it admin-only to prevent random Rickrollin'...

Thanks Biesmen for the new loop.

pawn Код:
#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    print("\n ~~RickRoll FS by Deltac0 Loaded~~\n");
    return 1;
}

CMD:rickroll(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected( i ))
        {
            PlayAudioStreamForPlayer(i, "http://deltac0.com/m/rick.mp3");
        }
    }
    return 1;
}
Quote:

We're no strangers to love
You know the rules and so do I
A full commitment's what I'm thinking of
You wouldn't get this from any other guy

I just wanna tell you how I'm feeling
Gotta make you understand

Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you

We've know each other for so long
Your heart's been aching
But you're too shy to say it
Inside we both know what's been going on
We know the game and we're gonna play it

And if you ask me how I'm feeling
Don't tell me you're too blind to see

Never gonna give you up
Never gonna let you down
Never gonna run around and desert you
Never gonna make you cry
Never gonna say goodbye
Never gonna tell a lie and hurt you

Repeat Chorus

Give you up, give you up
Give you up, give you up
Never gonna give,
Never gonna give, give you up
Never gonna give,
Never gonna give, give you up

We've know each other for so long
Your heart's been aching
But you're too shy to say it
Inside we both know what's been going on
We know the game and we're gonna play it

I just wanna tell you how I'm feeling
Gotta make you understand

Chorus times three




Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - DirtyBastard - 05.12.2011

Point of this?


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - jueix - 05.12.2011

its funny thats his point.


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - fiki574 - 05.12.2011

Nevermind!


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Deltac0_ - 05.12.2011

Quote:
Originally Posted by DirtyBastard
Посмотреть сообщение
Point of this?
You have 100/100 players on your server...
then they all are just playing normally...
but then you type /rickroll in the chatbox and the whole server goes crazy.

I know, you have always wanted to do that.
Now you can.
Go grab my script and copy paste it to your GM and release as your own or whatever.
I don't care.

_____________________________


Quote:
Originally Posted by fiki574_CRO
Посмотреть сообщение
pawn Код:
CMD:rickroll(playerid[, params[])
{
    PlayAudioStreamForPlayer(playerid, "http://deltac0.com/m/rick.mp3");
    return 1;
}
Wouldn't that play it just for the player with the specified playerid? And theres a typo in your code, now go find it.


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - fiki574 - 05.12.2011

Quote:
Originally Posted by Deltac0_
Посмотреть сообщение
You have 100/100 players on your server... then they all are just playing normally... but then you type /rickroll in the chatbox and the whole server goes crazy.

I know, you have always wanted to do that. Now you can. Go grab my script and copy paste it to your GM and release as your own or whatever. I don't care.
ROFL-ed on this:

Код:
the whole server goes crazy.



Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Deltac0_ - 05.12.2011

Quote:
Originally Posted by fiki574_CRO
Посмотреть сообщение
ROFL-ed on this:

Код:
the whole server goes crazy.
Read the post above yours. And why you're using [code] tags when theres [quote] available?


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Marshall32 - 06.12.2011

Quote:
Originally Posted by DirtyBastard
Посмотреть сообщение
Point of this?
Quote:
Originally Posted by jueix
Посмотреть сообщение
its funny thats his point.
Whats funny at that?Everyone can turn the music on ******* no need to do that :P.

UNUSABLE



Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Dripac - 07.12.2011

Quote:
Originally Posted by Deltac0_
Посмотреть сообщение
You have 100/100 players on your server...
then they all are just playing normally...
but then you type /rickroll in the chatbox and the whole server goes crazy.

I know, you have always wanted to do that.
Now you can.
Go grab my script and copy paste it to your GM and release as your own or whatever.
I don't care.
Oh really? I agree the server will get crazy, because all players will leave


Re: RickRoll FS - [0.3d] - Rickroll all players - ZCMD - Max_Coldheart - 07.12.2011

Quote:
Originally Posted by Dripac
Посмотреть сообщение
Oh really? I agree the server will get crazy, because all players will leave
If you got a problem with it, then don't post at all!