[pomoc] 3 errore

Započeo El Toni
23. Maj 2012.
399
pregleda
5
postova
antonio005
4
Made Man
23. Maj 2012.
Skripta koju koristim: GF
Detaljan opis problema: ma izasli mi 3 errora .. razgledivao sam malo ali nisam svatio sta je problem evo errore
Dio skripte:
C:\Documents and Settings\Gigov\Desktop\modovi\Evolution RP\dv rp\gamemodes\evl.pwn(41165) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gigov\Desktop\modovi\Evolution RP\dv rp\gamemodes\evl.pwn(41165 -- 41166) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Gigov\Desktop\modovi\Evolution RP\dv rp\gamemodes\evl.pwn(41174) : warning 225: unreachable code


evo te redove
41196 - 41165
if(strcmp(cmd, "/service", true) == 0) || (strcmp(cmd, "/calllist", true) == 0)
{

41175
if(strcmp(cmd, "/calllist", true) == 0)


evo celu to komandu
//////////////////////////////////////////////////////////////////////////////////////////////////////////////
if(strcmp(cmd, "/service", true) == 0) || (strcmp(cmd, "/calllist", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_LIGHTBLUE, "Napisete /calllist za informacii !");
return 1;
    }
    return 1;
}
if(strcmp(cmd, "/calllist", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN, "|____________Informacii____________|");
    SendClientMessage(playerid, COLOR_WHITE, "111 - Picerija., 222 - Avtobus Sluzba,");
SendClientMessage(playerid, COLOR_WHITE, "555 - Avtomehanicar, 3900 - ABC Studio,");
            SendClientMessage(playerid, COLOR_WHITE, "444 - Taxi,  911 - Hitan Poziv.");
SendClientMessage(playerid, COLOR_GREEN, "|___________________________________|");
return 1;
    }
    return 1;
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////

Neke slike/video za lakse dobivanje pomoci(neobavezno):
zmajic 006
4
Shot Caller
23. Maj 2012.
Probaj ovo  😉
	if(strcmp(cmd, "/service", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, 0xFF7F24FF, "Napisete /calllist za informacii !");
return 1;
    }
    return 1;
}
if(strcmp(cmd, "/calllist", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN, "|____________Informacii____________|");
    SendClientMessage(playerid, COLOR_WHITE, "111 - Picerija., 222 - Avtobus Sluzba,");
SendClientMessage(playerid, COLOR_WHITE, "555 - Avtomehanicar, 3900 - ABC Studio,");
            SendClientMessage(playerid, COLOR_WHITE, "444 - Taxi,  911 - Hitan Poziv.");
SendClientMessage(playerid, COLOR_GREEN, "|___________________________________|");
return 1;
    }
    return 1;
}
Deleted User
Obrisan korisnik
23. Maj 2012.
Quote from May 23, 2012, 1:19 pm:
Probaj ovo  😉
	if(strcmp(cmd, "/service", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, 0xFF7F24FF, "Napisete /calllist za informacii !");
return 1;
    }
    return 1;
}
if(strcmp(cmd, "/calllist", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN, "|____________Informacii____________|");
    SendClientMessage(playerid, COLOR_WHITE, "111 - Picerija., 222 - Avtobus Sluzba,");
SendClientMessage(playerid, COLOR_WHITE, "555 - Avtomehanicar, 3900 - ABC Studio,");
            SendClientMessage(playerid, COLOR_WHITE, "444 - Taxi,  911 - Hitan Poziv.");
SendClientMessage(playerid, COLOR_GREEN, "|___________________________________|");
return 1;
    }
    return 1;
}
:O
ne javljaj se kad neznas omgg sta si samo sklonio //////?? botu jedan..
Slusaj da ti nisi mozda isao IME MODA>GAMEMODES>IMEMODA.PWN i onda COMPILE isao??
zmajic 006
4
Shot Caller
23. Maj 2012.
Satake wrote on May 23, 2012, 1:19 pm:
Probaj ovo  😉
	if(strcmp(cmd, "/service", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, 0xFF7F24FF, "Napisete /calllist za informacii !");
return 1;
    }
    return 1;
}
if(strcmp(cmd, "/calllist", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_GREEN, "|____________Informacii____________|");
    SendClientMessage(playerid, COLOR_WHITE, "111 - Picerija., 222 - Avtobus Sluzba,");
SendClientMessage(playerid, COLOR_WHITE, "555 - Avtomehanicar, 3900 - ABC Studio,");
            SendClientMessage(playerid, COLOR_WHITE, "444 - Taxi,  911 - Hitan Poziv.");
SendClientMessage(playerid, COLOR_GREEN, "|___________________________________|");
return 1;
    }
    return 1;
}
:O
ne javljaj se kad neznas omgg sta si samo sklonio //////?? botu jedan..
Slusaj da ti nisi mozda isao IME MODA>GAMEMODES>IMEMODA.PWN i onda COMPILE isao??

Kada stavim njegovo dobijem ovo
C:\Users\N\Desktop\BCDM\gamemodes\bcrp.pwn(110) : error 029: invalid expression, assumed zero
C:\Users\N\Desktop\BCDM\gamemodes\bcrp.pwn(110 -- 111) : error 029: invalid expression, assumed zero
C:\Users\N\Desktop\BCDM\gamemodes\bcrp.pwn(119) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

2 Errors.


a kada svoje dobijem 
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase
antonio005
4
Made Man
23. Maj 2012.
pokusao sam kako sto je reko  Elmed&n promjenio sam i sad rani

@Satake preku pawn>pawno> i otvorim gamemod pa compiliram ali opet davao errore

ok je sad moze lock temu! hvala momci

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha