Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-19-2010, 03:40 AM
brasilboy109 brasilboy109 is offline
Exorian
Join Date: Aug 2010
Posts: 5
brasilboy109 is on a distinguished road
Radio/Music Script Help

Ok this time im working on a radio script but idk how to play the song serverside/ to everyone

When i type
Quote:
:start musicurl
it only plays the song file to myself
how would i go about making it serverside??

PHP Code:
 function onPlayerChats(){
 if (
player.chat.starts(":start")){
 
this.song player.chat.substring(7);
 
play(this.song);
 
player.chat "";
 }

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.