#1

hey guys i make a work in server but i get some errors
Код:
 public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)//provjera dali je na mjestu vozaca
{
if(VoziloKosaca(GetPlayerVehicleID(playerid)) && PlayerInfo[playerid][pPosao] != 1)//provjera dali je igrac u kosilici i dali je zaposlen kao kosac trave
{
SendClientMessage(playerid, -1, "GRESKA: Niste zaposleni kao kosac trave!");//љalje igracu poruku
RemovePlayerFromVehicle(playerid);//izbacuje igraca iz vozila
}

return 1;
}
errors
Код:
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\filterscripts\Poslovi.pwn(120) : error 017: undefined symbol "VoziloKosaca"
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\filterscripts\Poslovi.pwn(120) : warning 215: expression has no effect
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\filterscripts\Poslovi.pwn(120) : error 001: expected token: ";", but found "]"
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\filterscripts\Poslovi.pwn(120) : error 029: invalid expression, assumed zero
C:\Users\PC\Desktop\Dejanovi folderi\Black Angeles Roleplay\filterscripts\Poslovi.pwn(120) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Help - by Dejan12345 - 29.08.2016, 16:02
Re: Help - by Stinged - 29.08.2016, 16:07
Re: Help - by Dejan12345 - 29.08.2016, 16:14
Re: Help - by Shinja - 29.08.2016, 16:16

Forum Jump:


Users browsing this thread: 2 Guest(s)