SA-MP Forums Archive
8 errors 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: 8 errors help (/showthread.php?tid=558320)



8 errors help - salev13 - 16.01.2015

I got those errors

Код:
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(7931) : warning 204: symbol is assigned a value that is never used: "lockdone"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(7930) : warning 204: symbol is assigned a value that is never used: "done"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(7906) : warning 203: symbol is never used: "idx"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61285) : error 017: undefined symbol "playerid"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61289) : error 010: invalid function or declaration
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61292) : error 021: symbol already defined: "fcreate"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61342) : error 017: undefined symbol "pMaskOn"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61343) : error 017: undefined symbol "pMaskOn"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61346) : error 021: symbol already defined: "Log"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61405) : error 017: undefined symbol "pHideOn"
C:\Users\shalev\Desktop\ъйчйд згщд (2)\ъйчйд згщд\gamemodes\HRP_9.0.pwn(61406) : error 017: undefined symbol "pHideOn"



Re: 8 errors help - xVIP3Rx - 16.01.2015

warning 204, That's not really an error, it means that you've declared a variable and didn't use it.

For the other errors, please show script from line 61285 to 61292, and 61342 61346, and 61405,61406


Re: 8 errors help - salev13 - 16.01.2015

Quote:
Originally Posted by xVIP3Rx
Посмотреть сообщение
warning 204, That's not really an error, it means that you've declared a variable and didn't use it.

For the other errors, please show script from line 61285 to 61292, and 61342 61346, and 61405,61406

61285 ~ 61292
Quote:

stock GivePlayerCash(playerid, money)
{
SetPVarInt(playerid, "Cash", GetPVarInt(playerid, "Cash")+money);
GivePlayerMoney(playerid, money);
return 1;
}
stock fcreate(filename[])
{

61342 ~ 61346
Quote:

else if(PlayerInfo[playerid][pMaskOn] == 1)format(string, sizeof(string), "Stranger");
return string;
}
stock Log(sz_fileName[], sz_input[]) {

61405 ~ 61406
Quote:

if(PlayerInfo[playerid][pHideOn] == 0)format(astring, sizeof(astring), "%s", RemoveUnderScore(playerid));
else if(PlayerInfo[playerid][pHideOn] == 1)format(astring, sizeof(astring), "Anon");