[POMOC] Warings

Započeo CandY
25. Jul 2014. Zaključano
177
pregleda
3
postova
CandY
3
Hustler
25. Jul 2014.
Skripta koju koristim: Od 0
Detaljan opis problema: Izbacuje mi waring na jednoj liniji kreiro sam new vozilo ali opet izbacuje.
C:\Users\Bosna\Contacts\Desktop\Rage Gaming RolePlay 0.3z Client\gamemodes\RGRP.pwn(5857) : warning 217: loose indentation
C:\Users\Bosna\Contacts\Desktop\Rage Gaming RolePlay 0.3z Client\gamemodes\RGRP.pwn(5865) : warning 217: loose indentation
C:\Users\Bosna\Contacts\Desktop\Rage Gaming RolePlay 0.3z Client\gamemodes\RGRP.pwn(5881) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

3 Warnings.

Dio skripte:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vozilo = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
    for(new i = 0; i < sizeof(VoziloInfo); i++)
    {
if(VoziloInfo == vozilo)
{
        new cena = CijeneAuta(GetVehicleModel(GetPlayerVehicleID(playerid)));
if(VoziloInfo == 0)
{
                    new string;
SCM(playerid,-1,""CRVENA"Polovan auto na prodaju"BELA" | "ZELENA"/kupiauto"BELA" | "ZELENA"/izlaz");
format(string, sizeof(string), ""CRVENA"Cena: "BELA"%d$ | "CRVENA"Model: "BELA"%s",AutoSalon/2, Vehicles[GetVehicleModel(vozilo) - 400]);
UsaoAutoProdaja = i; TogglePlayerControllable(playerid, 0);
SCM(playerid, -1, string);
return 1;
}
}
}
}
if(BiciklaRent(vozilo))
{
if(Rentano != vozilo)
{
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid,"~w~Mozete rentati ovo biciklo ~b~/rent ~w~ili ~b~/izlaz~n~~w~Cena Renta: ~g~30$",5000,3);
}
}
if(MotoRent(vozilo))
{
    if (Rentano != vozilo)
    {
    TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid,"~w~Mozete rentati ovaj motor ~b~/rent ~w~ili ~b~/izlaz~n~~w~Cena Renta: ~g~80$",5000,3);
}
}
if(AutaRent(vozilo))
{
    if (Rentano != vozilo)
    {
    TogglePlayerControllable(playerid, 0);
    GameTextForPlayer(playerid,"~w~Mozete rentati ovo vozilo ~b~/rent ~w~ili ~b~/izlaz~n~~w~Cena Renta: ~g~120$",5000,3);
}
}
    return 1;
}


A evo tih linija
	if(BiciklaRent(vozilo))
		if(MotoRent(vozilo))
    return 1;

Neke slike/video za lakse dobivanje pomoci(neobavezno):
James_SmithXDl
6
OG Legend
25. Jul 2014.
stavi na vrh moda
#pragma tabsize 0


a problem je dolazi do neporavnanja linija to ustvari nije problem vec pawno javlja da mu se nesvidja.
CandY
3
Hustler
25. Jul 2014.
Kralju sta reci: http://prntscr.com/46al9n koju poruku poslati  😄 😄 😄

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha