SA-MP Forums Archive
Need Help With Scripting - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need Help With Scripting (/showthread.php?tid=384353)



Need Help With Scripting - XJnkX - 11.10.2012

Hello There I'm New To Scripting And I Wanna Learn Something New Soo.. Yeah I Wish To Script That How The Heck I Can Do This: When Player Types /Music And Yeah Then You Can Copy Link From ******* And Make It Play All Of The Players Or Just For Him, And Also I Was In Samp Wiki And I Didn't UnderStand a Thing, Please Help Me Out


Re: Need Help With Scripting - ~Pawno~ - 11.10.2012

Ow Okey.
We will sure script for you.......



WRONG SECTION!


This Is For Erros/Warnings At Scripting




How To Script?

*******, ****** it Wiki



And The Best Way Is To Download GM and just have fun with it edit stuffs remove add...


We cant help you alot on this one...


Re: Need Help With Scripting - RLGaming - 11.10.2012

Just whipped this up..

ZCMD:
Quote:

CMD:musicurl(playerid, params[])
{
new url[128];
if(sscanf(params, "s[128]", url)) return SendClientMessage(playerid, -1, "USAGE: /musicurl [audio link]");

PlayAudioStreamForPlayer(playerid, url);
SendClientMessage(playerid, -1, "You are now playing the URL you entered!");
return 1;
}

You will need sscanf plugin for this to work.


Re: Need Help With Scripting - XJnkX - 11.10.2012

Thank You Sir, Thank You Really Much I Respect You + I Will Give You Rep