[pomoc] 3 errore

Započeo El Toni, Maj 23, 2012, 15:10:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

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):

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;
}
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777

[BT:RP] Mayor !

[quote author=
 Elmed&n link=topic=44612.msg331589#msg331589 date=1337779188]
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;
}

[/quote]: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??

Citat: Satake poslato Maj 23, 2012, 15:34:35 POSLE PODNE
[quote author=
 Elmed&n link=topic=44612.msg331589#msg331589 date=1337779188]
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??
[/quote]

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
City Dragons Rol3Play(Hamachi server)

Join in the Hamachi room:

_____________________________________

Network name: CD.RP
Password: 123
               
                        ili

Network name: CD.RP2
Password: 123
_____________________________________
IP: 5.93.44.30:7777

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