Thread: Script Help
View Single Post
  #2  
Old 08-02-2011, 06:28 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
First off you should style the script to get a better look on it.

I also think you cant use:
PHP Code:
if (player.chat == "Start") && if (player.guild == "Events Team"
You can use two different ways:
PHP Code:
//first way:
if (player.chat == "Start") {
  if (
player.guild == "Events Team") {
    
//stuff
  
}
}

//seccond way:
if (player.chat == "Start" && player.guild == "Events Team") {
  
//stuff

also the command
PHP Code:
message "bla" 
is GS1. In GS2 it is
PHP Code:
this.chat "bla" 
Also at the part
PHP Code:
function onPlayerChats()
if (
player.chat == "Start") && if (player.guild == "Events Team")

it should be
PHP Code:
function onPlayerChats() {
if (
player.chat == "Start") && if (player.guild == "Events Team")

Here itīs a fixed version of yours:

PHP Code:
//#CLIENTSIDE
function onCreated() {
  
this.image "block.png";
}

function 
onPlayerChats() {
  if (
player.guild == "Events Team") {
    if (
player.chat == "Start") {
      
this.chat "3";
      
sleep(1);
      
this.chat "2";
      
sleep(1)
      
this.chat "1";
      
sleep(1)
      
this.chat "";
      
hide();
    }
    else
    if (
player.chat == "Stop") {
      
this.chat "";
      
show();
    }
  }

__________________
MEEP!
Reply With Quote