SA-MP Forums Archive
Radio system not opening - 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: Radio system not opening (/showthread.php?tid=367150)



Radio system not opening - jeremy8810 - 08.08.2012

Hi guys,

Im scripting a radio system for myself but it says: Server Unknown command and is not opening the dialog.

Tell me what i did wrong:


Thanks


Respuesta: Radio system not opening - [DOG]irinel1996 - 08.08.2012

http://pastebin.com/JQQG984t
Make me know if it worked, please.

Best regards!


Re: Respuesta: Radio system not opening - jeremy8810 - 08.08.2012

Quote:
Originally Posted by irinel1996
Посмотреть сообщение
http://pastebin.com/JQQG984t
Make me know if it worked, please.

Best regards!
You changed the return from 1 to 0 at the /radio command?

i allready tried that but wasn't working...


Re: Radio system not opening - jeremy8810 - 09.08.2012

anyone?


Re: Radio system not opening - IceMeteor - 09.08.2012

Try this
pawn Код:
if(!strcmp(cmdtext, "/radio", true, 6)) // 6 is the length of '/radio'



Re: Radio system not opening - jeremy8810 - 09.08.2012

Quote:
Originally Posted by IceMeteor
Посмотреть сообщение
Try this
pawn Код:
if(!strcmp(cmdtext, "/radio", true, 6)) // 6 is the length of '/radio'
Not working


Re: Radio system not opening - jeremy8810 - 09.08.2012

Its fixed!


Re: Radio system not opening - IceMeteor - 09.08.2012

What's the problem?


Re: Radio system not opening - Niknais14 - 11.08.2012

jeremy8810

How did u fix this


Re: Radio system not opening - jeremy8810 - 11.08.2012

I put it in the main script instead of the FS