PDA

View Full Version : Error help!


TheEpicBraxton
07/02/2013, 01:30 AM
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(207) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 017: undefined symbol "SendClientMessageToAllLang"
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : warning 215: expression has no effect
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 001: expected token: ";", but found ")"
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 029: invalid expression, assumed zero
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

Scrillex
07/02/2013, 01:42 AM
show lines where error is giving you!

TheEpicBraxton
07/02/2013, 01:47 AM
207: new Player[MAX_PLAYERS][player_info];

272: SendClientMessageToAllLang(COLOR_RACE, "*** %s won race (/drag)","*** %s wygrał wyœcig (/drag)",Player(playerid);

T0pAz
07/02/2013, 01:55 AM
Use the Pawn Tag next time.



SendClientMessageToAllLang(COLOR_RACE, "*** %s won race (/drag)","*** %s wygrał wyœcig (/drag)",Player(playerid));


You were missing the closing bracket.

TheEpicBraxton
07/02/2013, 02:25 AM
Use the Pawn Tag next time.



SendClientMessageToAllLang(COLOR_RACE, "*** %s won race (/drag)","*** %s wygrał wyścig (/drag)",Player(playerid));


You were missing the closing bracket.

Got another error:

C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(207) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 017: undefined symbol "SendClientMessageToAllLang"
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : warning 215: expression has no effect
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 001: expected token: ";", but found ")"
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : error 029: invalid expression, assumed zero
C:\Users\customer\Desktop\The Ultimate Freeroam\The Ultimate Freeroam\gamemodes\freeroam.pwn(272) : fatal error 107: too many error messages on one line

Scrillex
07/02/2013, 03:08 AM
SendClientMessageToAll(COLOR_RACE, "*** %s won race (/drag)","*** %s wygrał wyścig (/drag)");

Show line before this...

207: new Player[MAX_PLAYERS][player_info];

An I think it needs to be like new Player[MAX_PLAYERS];

TheEpicBraxton
07/02/2013, 10:14 PM
SendClientMessageToAll(COLOR_RACE, "*** %s won race (/drag)","*** %s wygrał wyścig (/drag)");

Show line before this...

207: new Player[MAX_PLAYERS][player_info];

An I think it needs to be like new Player[MAX_PLAYERS];

It was like that! Look at my previous post.