[POMOC]Carowner Ship Error

Započeo Richter
27. Maj 2011. Zaključano
1,548
pregleda
16
postova
Daya
4
Enforcer
27. Maj 2011.
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==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,CarInfo);
GameTextForPlayer(playerid,string,3000,5);
}
   if(CarInfo==1)
   {
       format(string,sizeof(string),"Vozilo je registrovano na %s",CarInfo);
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 == vehicle) { }
4386                                              else if(PlayerInfo == vehicle) { }
4387 else if(PlayerInfo == vehicle) { }
else
{
   if(PlayerInfo >= 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 = newcar;
gLastDriver = playerid;
}
4403         GetPlayerName(playerid, PlayerName, sizeof(PlayerName));

	4029	new newcar = GetPlayerVehicleID(playerid);
4030 new oldcar = gLastCar;
4031 new housecar = PlayerInfo+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!
Burrows
2
Wheel Man
27. Maj 2011.
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>!
Daya
4
Enforcer
27. Maj 2011.
iz Redline(Red Country) je carowner ship
Luis
5
Godfather
27. Maj 2011.
to stavi
new vehicle;

ovako
if(IsAnOwnableCar(newcar))
{
                new vehicle;
4369        new Vehicle = GetPlayerVehicleID(playerid);
    if(CarInfo==0)
Daya
4
Enforcer
27. Maj 2011.
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!
Mr.Lowrey
5
Godfather
27. Maj 2011.
i?Kako da ti pomognem? Ocu iz svog gamemodea gledati linije svoje? Daj bre te linije
Daya
4
Enforcer
27. Maj 2011.
4376if(IsAnOwnableCar(newcar))
4377 {
 4378           new vehicle;
4379         new Vehicle = GetPlayerVehicleID(playerid);
4380    if(CarInfo==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,CarInfo);
4384 GameTextForPlayer(playerid,string,3000,5);
4385 }
4386    if(CarInfo==1)
4387    {
4388       format(string,sizeof(string),"Vozilo je registrovano na %s",CarInfo);
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 == vehicle) { }
4395 else if(PlayerInfo == vehicle) { }
4396 else if(PlayerInfo == vehicle) { }
4397 else
4398 {
4399    if(PlayerInfo >= 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 = newcar;
4413 gLastDriver = 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;
         4031 new housecar = PlayerInfo+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.
×X×McDown×X×
2
Rookie
28. Maj 2011.
Meni treba CarOwner Ship
Daya
4
Enforcer
28. Maj 2011.
Moze pomoc ?? 😢 😢
Kruno1407
4
Made Man
28. Maj 2011.
//buggy dont finnish

Znači da baš i ne šljaka :/
Daya
4
Enforcer
28. Maj 2011.
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));
Mr.Lowrey
5
Godfather
28. Maj 2011.
doaj new name; izad toga
Daya
4
Enforcer
28. Maj 2011.
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?
Nenad
4
Shot Caller
28. Maj 2011.
Quote from May 28, 2011, 1:48 pm:
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"
×X×McDown×X×
2
Rookie
28. Maj 2011.
Trebao bi Carowner Ship

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha