Započeo Mr.Valdez
•9. Apr. 2018.• Zaključanoerror 032, error 029, errorr 001
727
pregleda
8
postova
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
338
Postovi:
13
Teme:
Pridružio se:Avg. 2016
9. Apr. 2018.
Problem(error/warning): C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : warning 213: tag mismatch
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 032: array index out of bounds (variable "RentInfo")
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 029: invalid expression, assumed zero
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : warning 215: expression has no effect
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 001: expected token: ";", but found "]"
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : fatal error 107: too many error messages on one line
Dio skripte:
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 032: array index out of bounds (variable "RentInfo")
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 029: invalid expression, assumed zero
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : warning 215: expression has no effect
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 001: expected token: ";", but found "]"
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : fatal error 107: too many error messages on one line
Dio skripte:
RentInfo = hex_CreateVehicle(RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, 2400);Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): //
Slika/video ingame problema(obavezno ako je ingame problem): //
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
161
Postovi:
12
Teme:
Pridružio se:Mar. 2018
9. Apr. 2018.
RentInfonije dobro to :d
Probaj ovako
RentInfo npr ( tu treba da stavis id renta iz enuma )Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
338
Postovi:
13
Teme:
Pridružio se:Avg. 2016
9. Apr. 2018.
RentInfo = hex_CreateVehicle(RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, RentInfo, 2400);Stavim tako i onda errori
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : warning 213: tag mismatch
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 032: array index out of bounds (variable "RentInfo")
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 029: invalid expression, assumed zero
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : warning 215: expression has no effect
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : error 001: expected token: ";", but found "]"
C:\Users\eesio\Desktop\Unique Country RP\gamemodes\uniquescript.pwn(2792) : fatal error 107: too many error messages on one line
Shot Caller
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
161
Postovi:
12
Teme:
Pridružio se:Mar. 2018
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
338
Postovi:
13
Teme:
Pridružio se:Avg. 2016
10. Apr. 2018.
stock hex_CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_delay)
{
if(broj_kreirana <= MAX_VEHICLES-2)
{
new o;
o = CreateVehicle(vehicletype, x, y, z, rotation, color1, color2, respawn_delay);
hex_SetVehicleHealth(o, 999.0);
SetVehicleParamsCarWindows(o, 1, 1, 1, 1);
Pozicija_Vozila = x;
Pozicija_Vozila = y;
Pozicija_Vozila = z;
Pozicija_Vozila = rotation;
broj_kreirana ++;
return o;
}
else
{
print("PREKORACEN JE LIMIT VOZILA (MAX_VEHICLES - 2) PA NEKA VOZILA NECE BITI KREIRANA(CREATEVEHICLE).");
vozila_upozorenje = 1;
return -1;
}
}Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava