SA-MP Forums Archive
Error help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error help! (/showthread.php?tid=413854)



Error help! - TheEpicBraxton - 07.02.2013

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 © 1997-2006, ITB CompuPhase


5 Errors.


Re: Error help! - Scrillex - 07.02.2013

show lines where error is giving you!


Re: Error help! - TheEpicBraxton - 07.02.2013

207: new Player[MAX_PLAYERS][player_info];

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


Re: Error help! - T0pAz - 07.02.2013

Use the Pawn Tag next time.
[pawn] [/pawn]

pawn Код:
SendClientMessageToAllLang(COLOR_RACE, "*** %s won race (/drag)","*** %s wygraі wyœcig (/drag)",Player(playerid));
You were missing the closing bracket.


Re: Error help! - TheEpicBraxton - 07.02.2013

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Use the Pawn Tag next time.
[pawn] [/pawn]

pawn Код:
SendClientMessageToAllLang(COLOR_RACE, "*** %s won race (/drag)","*** %s wygraі wyњcig (/drag)",Player(playerid));
You were missing the closing bracket.
Got another error:

pawn Код:
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



Re: Error help! - Scrillex - 07.02.2013

pawn Код:
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];


Re: Error help! - TheEpicBraxton - 07.02.2013

Quote:
Originally Posted by Scrillex
Посмотреть сообщение
pawn Код:
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.