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 |
public IsANewscar(carid) { for(new i = 0; i < sizeof(newscar); i++) { if(carid == newscar[i]) return 1; } return 0; } |
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;
}