Textdraw
#1

I get this error:

Quote:

C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 001: expected token: ";", but found "]"
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

For this:

Код:
	MainMenu[1] = TextDrawCreate(245.5, 13, "Developed by Wal Smith");LINE 281
	TextDrawFont(MainMenu[1] , 3);
	TextDrawLetterSize(MainMenu[1] , 1, 7);
	TextDrawColor(MainMenu[1] , 0x33AA33AA);
	TextDrawSetOutline(MainMenu[1] , true);
	TextDrawSetProportional(MainMenu[1] , true);
	TextDrawSetShadow(MainMenu[1] , 1);
Error:

Quote:

C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(117) : error 020: invalid symbol name ""

Код:
new Text:MainMenu[6];
Reply
#2

Change the 1's to 0
pawn Код:
MainMenu[0] = TextDrawCreate(245.5, 13, "Developed by Wal Smith");// LINE 281
Reply
#3

Код:
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 029: invalid expression, assumed zero
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : warning 215: expression has no effect
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : error 001: expected token: ";", but found "]"
C:\Users\Callum.Acer\Desktop\NCRP Working\gamemodes\CorrectLALSR.pwn(281) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
You only changed the number of the MainMenu, that takes no affect either way... @1fret
Reply
#4

Try changeing all the 1's to zero
Reply
#5

I have tried but that takes no effect when the MainMenu[0] is Zero or it is MainMenu[1] because I clarified that there could be six of them in total...
@1fret - thanks for the help buddy, appreciated.
Reply
#6

No problem did it fix
Reply
#7

No it did not.....





-----------------------------------------------------------------
Making new Roleplay Script - PM me or add my Skype - E.r.r.y to get in on this!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)