[HELP]error 001: expected token: ";", but found "-identifier-"
#1

Here is the error :
Код:
C:\Users\SA-MP\Desktop\0.3x actualus\gamemodes\mode.pwn(1938) : error 001: expected token: ";", but found "-identifier-"
C:\Users\SA-MP\Desktop\0.3x actualus\gamemodes\mode.pwn(49409) : warning 203: symbol is never used: "TextDraw"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
My Code :
pawn Код:
new TextDraw
 TextDrawCreate(635.000000,430.000000,"Fun-Generation");
 TextDrawAlignment(Textdraw0,3);
 TextDrawBackgroundColor(Textdraw0,0x000000ff);
 TextDrawFont(Textdraw0,1);
 TextDrawLetterSize(Textdraw0,0.699999,1.600000);
 TextDrawColor(Textdraw0,0xffffffff);
 TextDrawSetProportional(Textdraw0,1);
 TextDrawSetShadow(Textdraw0,1);
Reply
#2

change it to
Quote:

new TextDraw0

and show line 1938
mashi mestnek
Reply
#3

pawn Код:
new TextDraw0;
you lack 0 and ;
Reply
#4

Put On Your Script
Quote:

new Textdraw;

why no zero (0)? because you get this
Quote:

warning 203: symbol is never used: "TextDraw"

Reply
#5

I forgot to edit the post :
I changed it and another error appears :
pawn Код:
new Text:Logo;
  Logo = TextDrawCreate(635.000000,430.000000,"Fun-Generation");
  TextDrawAlignment(Logo,3);
  TextDrawBackgroundColor(Logo,0x000000ff);
  TextDrawFont(Logo,1);
  TextDrawLetterSize(Logo,0.699999,1.600000);
  TextDrawColor(Logo,COLOR_BLUE);
  TextDrawSetProportional(Logo,1);
  TextDrawSetShadow(Logo,1);
Код:
C:\Users\SA-MP\Desktop\0.3x actualus\gamemodes\mode.pwn(1938) : error 010: invalid function or declaration
C:\Users\SA-MP\Desktop\0.3x actualus\gamemodes\mode.pwn(49409) : warning 203: symbol is never used: "Logo"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#6

try this
Quote:

new Text:Logo[MAX_PLAYERS];

Logo[playerid] = TextDrawCreate(635.000000,430.000000,"Fun-Generation");
TextDrawAlignment(Logo[playerid],3);
TextDrawBackgroundColor(Logo[playerid],0x000000ff);
TextDrawFont(Logo[playerid],1);
TextDrawLetterSize(Logo[playerid],0.699999,1.600000);
TextDrawColor(Logo,COLOR_BLUE);
TextDrawSetProportional(Logo[playerid],1);
TextDrawSetShadow(Logo[playerid],1);

garbha hatl2eha sh8ala
Reply
#7

is the only textdraw you have? or do you have others?

pawn Код:
new Text:Logo;
pawn Код:
Logo = TextDrawCreate(635.000000,430.000000,"Fun-Generation");
  TextDrawAlignment(Logo,3);
  TextDrawBackgroundColor(Logo,0x000000ff);
  TextDrawFont(Logo,1);
  TextDrawLetterSize(Logo,0.699999,1.600000);
  TextDrawColor(Logo,COLOR_BLUE);
  TextDrawSetProportional(Logo,1);
  TextDrawSetShadow(Logo,1);
  return 1;
}
there are? not if you have it set properly in OnGameModeInit

have you put it without the return 1; and }
Reply
#8

Problem solved, Thanks for your support!
Reply
#9

Quote:
Originally Posted by EgyptForLife
Посмотреть сообщение
Problem solved, Thanks for your support!
Greetings nothing!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)