[POMOC]Warning

Započeo [ED] Marac
22. Avg. 2012.
453
pregleda
4
postova
Marac500
4
Shot Caller
22. Avg. 2012.
Skripta koju koristim: Explosion
Detaljan opis problema: Imam warning na destroycars komandi
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(65190) : warning 203: symbol is never used: "CreatedCars"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

1 Warning.

Dio skripte:
evo destroycars komanda
if(strcmp(cmd, "/destroycars", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo < 4)
{
    SendClientMessage(playerid, COLOR_GRAD1, "  Niste ovlasteni da koristite tu komandu!");
    return 1;
}
for(new i = 0; i < sizeof(CreatedCars); i++)
{
if(i != 0)
{
    DestroyVehicle(i);
}
}
SendClientMessage(playerid, COLOR_GREY, "  Sva stvorena vozila su unistena !");
}
return 1;
}


Neke slike/video za lakse dobivanje pomoci(neobavezno): -
Marac500
4
Shot Caller
22. Avg. 2012.
a ovo
for(new i = 0; i < sizeof(CreatedCars); i++)
Marac500
4
Shot Caller
22. Avg. 2012.
Sve sam ubacio osim veh jer ju imam, a dosli su ovi errori
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(11606) : warning 215: expression has no effect
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(11606) : error 001: expected token: ";", but found "-identifier-"
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(11606) : error 017: undefined symbol "check"
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(11606 -- 11607) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.


a ovo je veh MOJ
if(strcmp(cmd, "/veh", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if (PlayerInfo < 1340)
{SendClientMessage(playerid, COLOR_GRAD1, "Niste ovlasteni da koristite tu komandu!");return 1;}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /veh [id vozila] ");return 1;}
new car;
car = strval(tmp);
if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_GREY, "  ID vozila ne moze biti ispod 400 ili preko 611 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /veh [id vozila] ");return 1;}
new color1;
color1 = strval(tmp);
if(color1 < 0 || color1 > 180) { SendClientMessage(playerid, COLOR_GREY, "  ID Boje ne moze biti ispod 0 ili preko 126 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{SendClientMessage(playerid, COLOR_GRAD2, "Koriscenje: /veh [id vozila] ");return 1;}
new color2;
color2 = strval(tmp);
if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_GREY, "  ID Boje ne moze biti ispod 0 ili preko 126 !"); return 1; }
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
// car system
new carid = CreateVehicle(car, X,Y,Z, 0.0, color1, color2, 60000);

TogglePlayerControllable(playerid, 1);
PutPlayerInVehicle(playerid, carid, 0);

            PutPlayerInVehicle(playerid, carid, 0);
format(string, sizeof(string), "  Vozilo %d je stvoreno.", carid);
SendClientMessage(playerid, COLOR_GREY, string);
}
return 1;
}
Marac500
4
Shot Caller
22. Avg. 2012.
Eto sta mi doslo poslije ubacene komande
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3385) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3410) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3933) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3937) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3948) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3960) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3964) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3968) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3972) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3976) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3980) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3984) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3988) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3992) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(3996) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4008) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4012) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4016) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4020) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4024) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4042) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4046) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4050) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4062) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4066) : error 004: function "PlayerToPoint" is not implemented
C:\Users\Marac.WIN7-PC\Desktop\Explosion Roleply Alpha V.1.0\gamemodes\explosion.pwn(4070) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha