1 Error [expected token: ";", but found "-identifier-"]
#1

Im Trying to Compile this


pawn Код:
#include <a_samp>
#pragma tabsize 0
#define COLOR_BLUE 0x0080FFFF
#define COLOR_R 0xFF0000FF

public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print("*******************************************");
   print("*ChrOnic 0.3d and 0.3c Teleport Filterscript*");
   print("******************************************\n");
   return 1;
}


public OnPlayerCommandText(playerid, cmdtext[])
{

    if(!strcmp(cmdtext,"/calihq",true))
      {
       SetPlayerPos(playerid, 1448.1093,-1721.0315,6.8664 );
       SetPlayerInterior(playerid,0);
       SendClientMessage(playerid,0x008040FF," Welcome to [Cali] California Clan Hideout!");
       return 1;
      }

    if(!strcmp(cmdtext,"/secreta",true))
      {
       SetPlayerPos(playerid, 303.6730,-1529.1090,24.9219);
       SetPlayerFacingAngle(playerid,0.0);
       SetPlayerInterior(playerid,0);
       SendClientMessage(playerid,0x008040FF,"Welcome to The Secret Admin Area");
       SendClientMessage(playerid,0xFF0000FF,"Dont tell Nobody about this Area or BAN!");
       return 1;
      }

    if(!strcmp(cmdtext,"/admJet",true))
      {
       SetPlayerPos(playerid, 2730.3179,-2456.6833,26.5285);
       SetPlayerFacingAngle(playerid,0.0);
       SetPlayerInterior(playerid,0);
       SendClientMessage(playerid,0x008040FF,"Welcome To the Admin Jet Area");
       SendClientMessage(playerid,0xFF0000FF,"Dont tell Nobody about this Area or BAN!");
       return 1;
      }

    if(!strcmp(cmdtext,"/m33",true))
      {
       SendClientMessage(playerid,COLOR_R,"_--Los Santos Gang War Credits--_");
       SendClientMessage(playerid,COLOR_BLUE,"  ----Server Owners----");
       SendClientMessage(playerid,COLOR_BLUE,"ChrOnic , Luiis and Mikel");
       SendClientMessage(playerid,COLOR_BLUE,"__________________________");
       SendClientMessage(playerid,COLOR_BLUE,"   ----Scripters----")
       SendClientMessage(playerid,COLOR_BLUE,"Luiis , ASSA , Dragon , Pravin");
       SendClientMessage(playerid,COLOR_BLUE,"___________________________");
       SendClientMessage(playerid,COLOR_BLUE,"    ----Mappers----");
       SendClientMessage(playerid,COLOR_BLUE,"Crack and Minaz");
       SendClientMessage(playerid,COLOR_BLUE,"____________________________");
       return 1;
      }

    if(!strcmp(cmdtext,"/m34",true))
      {
       SetPlayerPos(playerid, 1361.6379,-1605.7111,8.6164);
       SetPlayerFacingAngle(playerid,0.0);
       SetPlayerInterior(playerid,0);
       SendClientMessage(playerid,0x00FF00FF,"Welcome to Chill Area!");
       return 1;
      }
   return 0;
}




But it keeps giving me this error

pawn Код:
C:\Documents and Settings\EPUser\My Documents\AA- KingJ server Folder\FilterScripts[FS]\FilterScripts 2 [FS]\TeleC.pwn(54) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.






So Please Help Just copy the script from up there then fix it and give me it Back
Reply
#2

SendClientMessage(playerid,COLOR_BLUE," ----Scripters----")

to

SendClientMessage(playerid,COLOR_BLUE," ----Scripters----");

Just read the error next time.
Reply
#3

Ya read the next line
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)