[Pomoc] Eror 017 "vehicleid"


Započeo |LOB| Robi.pwn, April 13, 2013, 11:18:29 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj gm od 0
Detaljan opis problema:Pa ovako znaci kada sam ovo imao pod "OnPlayerEnterVehcile" nije bilo errora a kada sam stavio u "OnPlayerStateChange" ima:S
Dio skripte:
//_______________________________________________________PoliceDepartment Vozila
	if(vehicleid == PDVozila[12] || vehicleid == PDVozila[13] || vehicleid == PDVozila[14] || vehicleid == PDVozila[15] || vehicleid == PDVozila[16] || vehicleid == PDVozila[17] || vehicleid == PDVozila[18] || vehicleid == PDVozila[19])
    {
    	if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLider] == 1){ }
    	else
		{
		    SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Police Department' organizacije!");
  			RemovePlayerFromVehicle(playerid);
     		TogglePlayerControllable(playerid, 1);
       	}
	}
    if(vehicleid == PDVozila[0] || vehicleid == PDVozila[1] || vehicleid == PDVozila[2] || vehicleid == PDVozila[3] || vehicleid == PDVozila[4] || vehicleid == PDVozila[5] || vehicleid == PDVozila[6] || vehicleid == PDVozila[7] || vehicleid == PDVozila[8] || vehicleid == PDVozila[9] || vehicleid == PDVozila[10] || vehicleid == PDVozila[11])
   	{
   		if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLider] == 1){ }
		else
		{
 			SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Police Department' organizacije!");
			RemovePlayerFromVehicle(playerid);
			TogglePlayerControllable(playerid, 1);
  		}
    }
//__________________________________________________________________Grove Vozila
	if(vehicleid == GroveVozila[4] || vehicleid == GroveVozila[5] || vehicleid == GroveVozila[6] || vehicleid == GroveVozila[7])
    {
    	if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLider] == 3){ }
    	else
		{
		    SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Grove Street' organizacije!");
  			RemovePlayerFromVehicle(playerid);
     		TogglePlayerControllable(playerid, 1);
       	}
	}
    if(vehicleid == GroveVozila[0] || vehicleid == GroveVozila[1] || vehicleid == GroveVozila[2] || vehicleid == GroveVozila[3])
   	{
   		if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLider] == 3){ }
		else
		{
 			SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Grove Street' organizacije!");
			RemovePlayerFromVehicle(playerid);
			TogglePlayerControllable(playerid, 1);
  		}
    }
//__________________________________________________________________Hitman Vozila
	if(vehicleid == HitmanVozila[4] || vehicleid == HitmanVozila[5] || vehicleid == HitmanVozila[6] || vehicleid == HitmanVozila[7])
    {
    	if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLider] == 8){ }
    	else
		{
		    SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Hitman Agency' organizacije!");
  			RemovePlayerFromVehicle(playerid);
     		TogglePlayerControllable(playerid, 1);
       	}
	}
    if(vehicleid == HitmanVozila[0] || vehicleid == HitmanVozila[1] || vehicleid == HitmanVozila[2] || vehicleid == HitmanVozila[3])
   	{
   		if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLider] == 8){ }
		else
		{
 			SCM(playerid, SVIJETLOPLAVA, "{FF0000}[Greska] Niste član 'Hitman Agency' organizacije!");
			RemovePlayerFromVehicle(playerid);
			TogglePlayerControllable(playerid, 1);
  		}
    }

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Citat: [RS]panameR. poslato Novembar 24, 2012, 13:50:32 POSLE PODNE
Citat: [FG] Tixa Mukic poslato Novembar 24, 2012, 11:12:07 PRE PODNE
Jel mi moze netko objasnit kako popuni i to sve opću uplatnicu :'(
kemijskom

Blaeks RESPECT!
joXy_ BIG RESPECT!
CkusaColeCM RESPECT!
Ivan_Ino.pwn BIG RESPECT!

Blaeks

*

Madmen

new vehicle = GetPlayerVehicleID(playerid);

[]Flynâ„¢

*

Never look down on anybody unless you're helping them up.

new vehicleid = GetPlayerVehicleID(playerid);

to znam i ja ali gdje dodat u to ili gore?
Citat: [RS]panameR. poslato Novembar 24, 2012, 13:50:32 POSLE PODNE
Citat: [FG] Tixa Mukic poslato Novembar 24, 2012, 11:12:07 PRE PODNE
Jel mi moze netko objasnit kako popuni i to sve opću uplatnicu :'(
kemijskom

Blaeks RESPECT!
joXy_ BIG RESPECT!
CkusaColeCM RESPECT!
Ivan_Ino.pwn BIG RESPECT!

Blaeks

*

Madmen


Bam Bam bam :D
Ty dečki:D <3
Citat: [RS]panameR. poslato Novembar 24, 2012, 13:50:32 POSLE PODNE
Citat: [FG] Tixa Mukic poslato Novembar 24, 2012, 11:12:07 PRE PODNE
Jel mi moze netko objasnit kako popuni i to sve opću uplatnicu :'(
kemijskom

Blaeks RESPECT!
joXy_ BIG RESPECT!
CkusaColeCM RESPECT!
Ivan_Ino.pwn BIG RESPECT!