SA-MP Forums Archive
Job.. - 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: Job.. (/showthread.php?tid=572622)



Job.. - awiaprox - 30.04.2015

Код:
(38732) : error 012: invalid function call, not a valid address
(38732) : warning 215: expression has no effect
(38732) : error 001: expected token: ";", but found ")"
(38732) : error 029: invalid expression, assumed zero
(38732) : fatal error 107: too many error messages on one line
Код:
        if(AdriaVozila(vozilo))// error line
		{
		    if(PlayerInfo[playerid][pPosao] != POSAO_ADRIA)
		    {
		        SCM(playerid, -1, ""LASTSTEP"[TU] "SIVA"Niste zaposleni kao Adria Dostavljac!");
		        RemovePlayerFromVehicle(playerid);
			}
			else return SCM(playerid, -1, ""LASTSTEP"Komande posla: "BELA"/dostavljacadria /prekiniposao");
		}
Please Help!


Re: Job.. - Clergy - 30.04.2015

Код:
if(AdriaVozila(vozilo)); // Not sure if it works, But give it a try
		{
		    if(PlayerInfo[playerid][pPosao] != POSAO_ADRIA)
		    {
		        SCM(playerid, -1, ""LASTSTEP"[TU] "SIVA"Niste zaposleni kao Adria Dostavljac!");
		        RemovePlayerFromVehicle(playerid);
			}
			else return SCM(playerid, -1, ""LASTSTEP"Komande posla: "BELA"/dostavljacadria /prekiniposao");
		}
If this didnt work

Код:
if(AdriaVozila(vozilo); // Not sure if it works, But give it a try
		{
		    if(PlayerInfo[playerid][pPosao] != POSAO_ADRIA)
		    {
		        SCM(playerid, -1, ""LASTSTEP"[TU] "SIVA"Niste zaposleni kao Adria Dostavljac!");
		        RemovePlayerFromVehicle(playerid);
			}
			else return SCM(playerid, -1, ""LASTSTEP"Komande posla: "BELA"/dostavljacadria /prekiniposao");
		}



Re: Job.. - awiaprox - 30.04.2015

I fixed that i dont named same varibles..

sorry for my bed english