#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
#2

What is VoziloKosaca(vehicleid) even supposed to be?
Reply
#3

venchilelawnmowers
Reply
#4

Well seems it's not defined
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)