[Pomoc] problem oko rentbike

Započeo Eazy_E
7. Jun 2011. Zaključano
1,298
pregleda
11
postova
Eazy_E
4
Enforcer
7. Jun 2011.
Skripta koju koristim:SS
Detaljan opis problema: http://balkan-samp.com/forum/index.php?topic=14698.0 imam problem odradim sve i dobijem ove erore ako zna neko jel oze pomoc ? 🙂
Dio skripte:
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6395) : error 017: undefined symbol "newcar"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6397) : error 017: undefined symbol "newcar"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16582) : error 017: undefined symbol "dialogid"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16584) : error 017: undefined symbol "response"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16586) : error 017: undefined symbol "listitem"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16588) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16629) : error 017: undefined symbol "dialogid"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16631) : error 017: undefined symbol "response"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(16633) : error 017: undefined symbol "listitem"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

8 Errors.

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Luis
5
Godfather
7. Jun 2011.
Te dialoge stavi pod  public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
i jos new newcar = GetPlayerVehicleID(playerid);
ali taj new stavi iznad komande.
Eazy_E
4
Enforcer
7. Jun 2011.
Quote from June 7, 2011, 8:52 am:
Te dialoge stavi pod  public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
i jos new newcar = GetPlayerVehicleID(playerid);
ali taj new stavi iznad komande.


Novi erori
sa 2 stara
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6395) : error 017: undefined symbol "newcar"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6397) : error 017: undefined symbol "newcar"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15484) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15469) : warning 204: symbol is assigned a value that is never used: "newcar"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.
Luis
5
Godfather
7. Jun 2011.
postaj red 6395 i 6397 i ak ozelis i za warninge.
Eazy_E
4
Enforcer
7. Jun 2011.
Quote from June 7, 2011, 9:02 am:
postaj red 6395 i 6397 i ak ozelis i za warninge.

(6397)			if (HireCar != newcar)
(6395) if(newcar >= 446 && newcar <= 472) //ID mozete sanati ako u autu kucate /oldcar
(***69) new newcar = GetPlayerVehicleID(playerid);
(***84)     new hirefee = HireCost(GetPlayerVehicleID(playerid));
Luis
5
Godfather
7. Jun 2011.
iznad toga
if (HireCar != newcar)

stavi ovako
new hirefee = HireCost(GetPlayerVehicleID(playerid));


Iznda ovoga
if(newcar >= 446 && newcar <= 472) //ID mozete sanati ako u autu kucate /oldcar

stavi ovako
new newcar = GetPlayerVehicleID(playerid);

tako a ono dvoje izbrisi na kraju dva warninga to izbrisi i stavi ovako kako sam ti rekao.
Eazy_E
4
Enforcer
7. Jun 2011.
Quote from June 7, 2011, 9:10 am:
iznad toga
if (HireCar != newcar)

stavi ovako
new hirefee = HireCost(GetPlayerVehicleID(playerid));


Iznda ovoga
if(newcar >= 446 && newcar <= 472) //ID mozete sanati ako u autu kucate /oldcar

stavi ovako
new newcar = GetPlayerVehicleID(playerid);

tako a ono dvoje izbrisi na kraju dva warninga to izbrisi i stavi ovako kako sam ti rekao.

C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6541) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6395) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15486) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15471) : warning 204: symbol is assigned a value that is never used: "newcar"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

4 Warnings.
  🤐
Luis
5
Godfather
7. Jun 2011.
aj postaj te redove i jedan iznad i ispod.
red15486 i 15471 obrisi.
Postaj kako si to sve stavio.
Eazy_E
4
Enforcer
7. Jun 2011.
Quote from June 7, 2011, 9:22 am:
aj postaj te redove i jedan iznad i ispod.
red15486 i 15471 obrisi.

ovo je nesto nevezano za rent..1.
		new newcar = GetPlayerVehicleID(playerid);

ovo je 4. pod public OnDialogResponse
	new newcar = GetPlayerVehicleID(playerid);
Mr.Lowrey
5
Godfather
7. Jun 2011.
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6541) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(6395) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15486) : warning 204: symbol is assigned a value that is never used: "hirefee"
C:\Users\Nemanja\Desktop\Balkan-Familyz\gamemodes\BMWRolePlay.pwn(15471) : warning 204: symbol is assigned a value that is never used: "newcar"


to ti znaci da je negdje prije to koristeno samo promjenis u recimo newcar1 i hirefee1
Eazy_E
4
Enforcer
7. Jun 2011.
Hvala vam resiso sam 😉

Moze LOCK

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha