[POMOC] WARNING/POJAS

Započeo NenaD99, April 23, 2017, 22:50:33 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim:UP
Detaljan opis problema:Ubacio Sistem Pojas,sve kako treba no imam warning...
Dio skripte:Pojas
Neke slike/video za lakse dobivanje pomoci(neobavezno):Nemam slike,dodacu ispod sve...
[pawn]C:\Users\Nenad\Desktop\Modern Revolution Project\Modern Revolution RolePlaY By NenoX\gamemodes\NenoXScript.pwn(15433) : warning 209: function "S@@_OnPlayerExitVehicle" should return a value[/pawn]
[pawn]public OnPlayerExitVehicle(playerid, vehicleid)
{
   if(Pojas[playerid] == 1)
    {
       new pName[24];
        new string[128];
         GetPlayerName(playerid, pName, 24);
          format(string, 128, "%s otkopcava pojas.", pName);
        ProxDetector(30.0, playerid, string, PROX,PROX,PROX,PROX,PROX);
        Pojas[playerid] = 0;
        ImaoPojas[playerid] = 1;
        return 1;
    }
}[/pawn]
Taj warning je zadnja zagrada...
EDIT:Kada sve to /* */ osim prve i zadnje zagrade,nema waring/error ni jedan...
Poslednja Izmena: April 23, 2017, 22:56:14 POSLE PODNE od NenoX99
Respect To :
@LoOdaK @SejnurHD @anDro_ @Muma
@NapaćeniBoÅ¡njo @BaÅ¡ovski @MegatroNâ,,¢ @Deko
----------------------------------------------------------------
》YouTube Channal Link :
----------------------------------------------------------------
https://www.youtube.com/channel/UCBPV31b6RUx4LcD6pMHwJQA
----------------------------------------------------------------
》Zivotni Moto :
----------------------------------------------------------------
》Ako me udaris dok sam dole,
》Bolje se pocni moliti,
》Da nikad neustanem!
----------------------------------------------------------------
#NenaD99 8)

Iznad zadnje zagrade dodaj[pawn] return 1;[/pawn]
CitatElectric Power is everywhere present in unlimited quantities and can drive the world's machinery without the need of coal, oil, gas, or any other of the common fuels!



Citat: LoOdaK poslato April 23, 2017, 22:59:20 POSLE PODNE
Iznad zadnje zagrade dodaj[pawn] return 1;[/pawn]
Hvala na pomoci,nekontam ove sto rade Skriptu za ubacivanje,a nenaprave kako treba...
Respect To :
@LoOdaK @SejnurHD @anDro_ @Muma
@NapaćeniBoÅ¡njo @BaÅ¡ovski @MegatroNâ,,¢ @Deko
----------------------------------------------------------------
》YouTube Channal Link :
----------------------------------------------------------------
https://www.youtube.com/channel/UCBPV31b6RUx4LcD6pMHwJQA
----------------------------------------------------------------
》Zivotni Moto :
----------------------------------------------------------------
》Ako me udaris dok sam dole,
》Bolje se pocni moliti,
》Da nikad neustanem!
----------------------------------------------------------------
#NenaD99 8)

LOCK,RESENO,HVALA @LoOdaK
Respect To :
@LoOdaK @SejnurHD @anDro_ @Muma
@NapaćeniBoÅ¡njo @BaÅ¡ovski @MegatroNâ,,¢ @Deko
----------------------------------------------------------------
》YouTube Channal Link :
----------------------------------------------------------------
https://www.youtube.com/channel/UCBPV31b6RUx4LcD6pMHwJQA
----------------------------------------------------------------
》Zivotni Moto :
----------------------------------------------------------------
》Ako me udaris dok sam dole,
》Bolje se pocni moliti,
》Da nikad neustanem!
----------------------------------------------------------------
#NenaD99 8)