[POMOC]Carowner Ship Error


Započeo Richter, Maj 27, 2011, 18:57:59 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moja skripta
Detaljan opis problema:Ubacijem u moj GM Carowner Ship iz jednog GMa
Dio skripte:
  		if(IsAnOwnableCar(newcar))
		{
4369         new Vehicle = GetPlayerVehicleID(playerid);
		    if(CarInfo[newcar][cOwned]==0)
		    {
		        TogglePlayerControllable(playerid, 0);
		        format(string,sizeof(string),"~w~Vozilo: %s~n~Cijena: ~g~%d~n~~w~/v buy da biste kupili vozilo~n~~r~/exit ~w~da izadjete",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);
				GameTextForPlayer(playerid,string,3000,5);
			}
		    if(CarInfo[newcar][cOwned]==1)
		    {
		        format(string,sizeof(string),"Vozilo je registrovano na %s",CarInfo[newcar][cOwner]);
				SendClientMessage(playerid, COLOR_BLUE, string);
				/*if(keycar != vehicle)
				{
				    RemovePlayerFromVehicle(playerid);
				    SendClientMessage(playerid, COLOR_GREY, "You don't have a key of this vehicle");
				}*/
4385				else if(PlayerInfo[playerid][pPcarkey] == vehicle) { }
4386                                              else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }
4387				else if(PlayerInfo[playerid][pPcarkey3] == vehicle) { }
				else
				{
				    if(PlayerInfo[playerid][pAdmin] >= 1337)
					{
					    SendClientMessage(playerid, COLOR_LIGHTRED, "Admin | Mozes voziti ovo zato sto si Admin !");
					}
				    else
				    {
				    	RemovePlayerFromVehicle(playerid);
				    	TogglePlayerControllable(playerid,0);
				    	SendClientMessage(playerid, COLOR_GREY, "Nemate kljuceve od ovog vozila");
					}
				}
			}
		}
		gLastCar[playerid] = newcar;
		gLastDriver[newcar] = playerid;
	}
4403         GetPlayerName(playerid, PlayerName, sizeof(PlayerName));



4029	new newcar = GetPlayerVehicleID(playerid);
	4030	new oldcar = gLastCar[playerid];
	4031	new housecar = PlayerInfo[playerid][pPhousekey]+1;


Neke slike/video za lakse dobivanje pomoci(neobavezno):Nemam

Errori:
C:\Documents and Settings\*******\Desktop\*******.pwn(4385) : error 017: undefined symbol "vehicle"
C:\Documents and Settings\*******\Desktop\*******.pwn(4386) : error 017: undefined symbol "vehicle"
C:\Documents and Settings\*******\Desktop\*******.pwn(4387) : error 017: undefined symbol "vehicle"
C:\Documents and Settings\*******\Desktop\*******.pwn(4369) : warning 204: symbol is assigned a value that is never used: "Vehicle"
C:\Documents and Settings\*******\Desktop\*******.pwn(4031) : warning 204: symbol is assigned a value that is never used: "housecar"
C:\Documents and Settings\*******\Desktop\*******.pwn(4030) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Documents and Settings\*******\Desktop\*******.pwn(4406) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\*******\Desktop\*******.pwn(4406) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\*******\Desktop\*******.pwn(4406) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*******\Desktop\*******.pwn(4406) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.


Mozete mi pomoci? Hvala unaprijed!
Poslednja Izmena: Maj 27, 2011, 19:03:04 POSLE PODNE od [CZ]Jan_Richter

a jbg ti to pokusavas da prebacis ownership sa GTA RP,Raven ili neki sto ima ownership na GF ... evo odma da ti kazem neces uspeti jer moras da se udubis skroz u PC>!

Balkan United Community and Hosting for YOU


Uskoro Balkan United Roleplay
Kvalitetan i Povoljan Hosting www.bug-hosting.com
Balkan United Community www.bug-hq.info
Uskoro Prijave za Gmodove,GameMastere,Lidere za RPG
Za Ostale Informacije Kontaktirajte supubserver@hotmail.com


Proverite Zasto Smo Najbolji

iz Redline(Red Country) je carowner ship

to stavi
new vehicle[24];

ovako
if(IsAnOwnableCar(newcar))
		{
                 new vehicle[24];
4369         new Vehicle = GetPlayerVehicleID(playerid);
		    if(CarInfo[newcar][cOwned]==0)

C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4386) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4387) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4388) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4370) : warning 204: symbol is assigned a value that is never used: "Vehicle"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4031) : warning 204: symbol is assigned a value that is never used: "housecar"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4030) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.


Sad mi je ovo doslo!Pomoc!

i?Kako da ti pomognem? Ocu iz svog gamemodea gledati linije svoje? Daj bre te linije
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

4376if(IsAnOwnableCar(newcar))
	4377	{
  4378           new vehicle[24];
	4379         new Vehicle = GetPlayerVehicleID(playerid);
		4380    if(CarInfo[newcar][cOwned]==0)
	4381	    {
		4382        TogglePlayerControllable(playerid, 0);
		4383        format(string,sizeof(string),"~w~Vozilo: %s~n~Cijena: ~g~%d~n~~w~/v buy da biste kupili vozilo~n~~r~/exit ~w~da izadjete",CarInfo[newcar][cDescription],CarInfo[newcar][cValue]);
		4384		GameTextForPlayer(playerid,string,3000,5);
		4385	}
		4386    if(CarInfo[newcar][cOwned]==1)
		4387    {
		4388       format(string,sizeof(string),"Vozilo je registrovano na %s",CarInfo[newcar][cOwner]);
		4389		SendClientMessage(playerid, COLOR_BLUE, string);
		4390		/*if(keycar != vehicle)
		4391		{
		4392		    RemovePlayerFromVehicle(playerid);
		4392		    SendClientMessage(playerid, COLOR_GREY, "You don't have a key of this vehicle");
		4393		}*/
		4394		if(PlayerInfo[playerid][pPcarkey] == vehicle) { }
		4395		else if(PlayerInfo[playerid][pPcarkey2] == vehicle) { }
		4396		else if(PlayerInfo[playerid][pPcarkey3] == vehicle) { }
		4397		else
		4398		{
		4399		    if(PlayerInfo[playerid][pAdmin] >= 1337)
		4400			{
		4401			    SendClientMessage(playerid, COLOR_LIGHTRED, "Admin | Mozes voziti ovo zato sto si Admin !");
	              4402		}
		4403		    else
		4404		    {
		4405		    	RemovePlayerFromVehicle(playerid);
		4406		    	TogglePlayerControllable(playerid,0);
		4407		    	SendClientMessage(playerid, COLOR_GREY, "Nemate kljuceve od ovog vozila");
		4408			}
		4409		}
		4410	}
		4411  }
		4412 gLastCar[playerid] = newcar;
		4413 gLastDriver[newcar] = playerid;
	4414 }




4030

4027 state == PLAYER_STATE_DRIVER) //buggy dont finnish
          4028	{// 38 / 49 / 56 = SS
          4029	new newcar = GetPlayerVehicleID(playerid);
          4030	new oldcar = gLastCar[playerid];
          4031	new housecar = PlayerInfo[playerid][pPhousekey]+1;



ERRORI:



C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4386) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4387) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4388) : error 033: array must be indexed (variable "vehicle")
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4370) : warning 204: symbol is assigned a value that is never used: "Vehicle"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4031) : warning 204: symbol is assigned a value that is never used: "housecar"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4030) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 017: undefined symbol "PlayerName"
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jan_Richter\Desktop\CZ.pwn(4407) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
Poslednja Izmena: Maj 27, 2011, 22:28:49 POSLE PODNE od [CZ]Jan_Richter




Rijesio ono sve ali dosli mi novi errori

C:\Documents and Settings\Jan_Richter\Desktop\New Folder\CZ.pwn(4007) : error 017: undefined symbol "name"
C:\Documents and Settings\Jan_Richter\Desktop\New Folder\CZ.pwn(4007) : error 017: undefined symbol "name"
C:\Documents and Settings\Jan_Richter\Desktop\New Folder\CZ.pwn(4007) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Jan_Richter\Desktop\New Folder\CZ.pwn(4007) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Linija

4007    GetPlayerName(playerid, name, sizeof(name));
Poslednja Izmena: Maj 28, 2011, 15:06:49 POSLE PODNE od [CZ]Jan_Richter

doaj new name[24]; izad toga
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

C:\Documents and Settings\Jan_Richter\Desktop\Balkan Arena\gamemodes\CZ.pwn(4000) : warning 219: local variable "price" shadows a variable at a preceding level

Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           7724 bytes
Code size:          1966060 bytes
Data size:          4625020 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5104 cells (20416 bytes)
Total requirements: 6615188 bytes


20 Warnings.


Tako 20 njih kako da to ispravim?

Citat: [CZ]Jan_Richter poslato Maj 28, 2011, 15:48:13 POSLE PODNE
C:\Documents and Settings\Jan_Richter\Desktop\Balkan Arena\gamemodes\CZ.pwn(4000) : warning 219: local variable "price" shadows a variable at a preceding level

Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           7724 bytes
Code size:          1966060 bytes
Data size:          4625020 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5104 cells (20416 bytes)
Total requirements: 6615188 bytes


20 Warnings.


Tako 20 njih kako da to ispravim?
pa to "price" ti ne stoji na dobrom mjestu...premjesti ga u red ispred te funkcije koja koristi "price"










Services
Web Designing
Graphic Designing
PAWN Scripting

Trebao bi Carowner Ship
Poslednja Izmena: Maj 29, 2011, 01:31:34 PRE PODNE od ×X×McDown×X×