Help with Radio FS - 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: Help with Radio FS (
/showthread.php?tid=341735)
Help with Radio FS -
[BG]BuLLDoZeR - 11.05.2012
Hello. I need a fs to a radio... I search with the word - radio and test all radios.. But not work...
I need from radio without DIALOGS :X I wanna with a command like - /radio city, /radio fresh.
Re: Help with Radio FS -
iGetty - 11.05.2012
Do you know links that you could add to the script if I give you the code and command to do it?
Re: Help with Radio FS -
[BG]BuLLDoZeR - 12.05.2012
Yes. I know the links. But if you want i will give you one to test it ?
Re: Help with Radio FS -
iGetty - 12.05.2012
No that's fine.
This uses zcmd.
pawn Код:
CMD:help(playerid, params[])
{
if(isnull(params))return SendClientMessage(playerid, -1, "Server: /radio [fresh/city/etc]");
if(!strcmp(params, "fresh", true))
{
//your code here
}
if(!strcmp(params, "city", true))
{
//your code here
}
return true;
}
Re: Help with Radio FS -
[BG]BuLLDoZeR - 12.05.2012
Quote:
Originally Posted by iGetty
No that's fine.
This uses zcmd.
pawn Код:
CMD:help(playerid, params[]) { if(isnull(params))return SendClientMessage(playerid, -1, "Server: /radio [fresh/city/etc]"); if(!strcmp(params, "fresh", true)) { //your code here } if(!strcmp(params, "city", true)) { //your code here } return true; }
|
Do you can give to me good code for radio where just to add links for the radio but not with dialogs.. Im beginner in the Pawno and didn't know what to do...
Re: Help with Radio FS -
iGetty - 12.05.2012
I don't understand you? Is there a filterscript/tutorial that shows it with a dialog or something? If so, link me to it please.