i don't know whats wrong ?
#1

Quote:

C:\Users\Siim\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5067) : error 017: undefined symbol "newscar"
C:\Users\Siim\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5067) : error 036: empty statement
C:\Users\Siim\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5067) : error 017: undefined symbol "i"
C:\Users\Siim\Desktop\Raven's Roleplay 0.3c\gamemodes\larp.pwn(5067) : fatal error 107: too many error messages on one line

Quote:

public IsANewscar(carid)
{
for(new i = 0; i < sizeof(newscar); i++)
{
if(carid == newscar[i]) return 1;
}
return 0;
}

can some one help me i added forward IsANewscar(carid);
Reply
#2

try

pawn Код:
stock IsANewscar(vid)
{
    new r;
    new mo = GetVehicleModel(vid);
    switch(mo)
    {
        case put here news vehicle id like 100,100,100,100: r = mo;
        default: r = 0;
    }
    return r;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)