17.09.2012, 23:37
Hi people,
How would I fix this
errors:
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 029: invalid expression, assumed zero
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 017: undefined symbol "cmd_quitjob"
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 029: invalid expression, assumed zero
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664
How would I fix this
pawn Код:
CMD:quitjob(playerid,params[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pJob] > 0)
{
if(PlayerInfo[playerid][pRegularRank] > 0)
{
SendClientMessage(playerid, COLOR_WHITE, "You have quit a job!");
PlayerInfo[playerid][pJob] = 0;
PlayerInfo[playerid][pChar] = 0;
PlayerInfo[playerid][pContractTime] = 0;
SetPlayerToTeamColor(playerid);
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You do not have a job!");
}
return 1;
}
}
}
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 029: invalid expression, assumed zero
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 017: undefined symbol "cmd_quitjob"
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : error 029: invalid expression, assumed zero
C:\Users\matthew\Desktop\V2 NG LS;RP\gamemodes\larp.pwn(73167) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664