24.03.2009, 15:09
Код:
D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(118) : error 017: undefined symbol "PlayerToPoint" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(120) : error 017: undefined symbol "COLOR_LIGHTBLUE" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(121) : error 017: undefined symbol "COLOR_LIGHTBLUE" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(122) : error 017: undefined symbol "COLOR_LIGHTBLUE" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(123) : error 017: undefined symbol "GettingJob" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(123) : warning 215: expression has no effect D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(123) : error 001: expected token: ";", but found "]" D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(123) : error 029: invalid expression, assumed zero D:\Gta sa\GTA San Andreas\gamemodes\BRP.pwn(123) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,1487.5673,-1422.6677,11.8883))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You are about to become a Lawyer, and get a 5 hour Contract.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You have to forfill this Contract first, if you want to Quit the job later.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* If you are sure to become a Lawyer, type /accept job.");
GettingJob[playerid] = 2;
return 1;
}
{
if(PlayerInfo[i][pJob] > 0) {}
else { GameTextForPlayer(i, "~g~Welcome,~n~~y~you can become a ~r~Lawyer~y~ here ~n~~w~Type /join if you wish to become one", 5000, 3); }
}
return 0;
}

