errors - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: errors (
/showthread.php?tid=137880)
errors -
02manchestera - 30.03.2010
Dont understand these errors as i cant see whats wrong ?
Код:
if(listitem == 1) {
if( qscore[playerid] >= 50 ) { // 2909
SendClientMessage(playerid, COLOR_GREY, "You chose the demolition as your class.");
SendClientMessage(playerid, COLOR_GREY, "You can type /switchclass to change your class again.");
gPlayerClass[playerid] = DEMOLITION;
PickedClass[playerid] = 1;
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid, 1);
if(gTeam[playerid] == TEAM_USA) {
GivePlayerWeapon(playerid, 16, 50);
GivePlayerWeapon(playerid, 36, 5);
GivePlayerWeapon(playerid, 24, 200);
SetPlayerSkin(playerid, 73);
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\my server\pawno\include\foreach.inc(346) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect")
C:\Program Files\Rockstar Games\GTA San Andreas\my server\pawno\include\foreach.inc(436) : warning 201: redefinition of constant/macro (symbol "OnPlayerDisconnect")
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(1171) : warning 219: local variable "j" shadows a variable at a preceding level
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(2909) : error 017: undefined symbol "qscore"
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(2909) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(2909) : error 001: expected token: ";", but found "]"
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(2909) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\my server\gamemodes\black - Copy.pwn(2909) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: errors -
aircombat - 30.03.2010
i am not now on my pc try :
new qscore = GetPlayerScore(playerid);
Re: errors -
02manchestera - 30.03.2010
it crash the complier XD any over ideas mate
Re: errors -
aircombat - 30.03.2010
open ur msn
Re: errors -
Drake1994 - 30.03.2010
Mabye:
Код:
new qscore;
qscore = GetPlayerScore(playerid);