Pomoc: Error

Započeo Sahinjo, Jun 19, 2010, 22:56:42 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.


new Float:PlayerPos[MAX_PLAYERS][6];
new Float:TeleportDest[MAX_PLAYERS][3];
new Float:TelePos[MAX_PLAYERS][6];
new fbi1;
new fbi2;
new fbi3;


       AddStaticVehicleEx(571,2291.7932,-2345.5356,12.8305,227.3060,-1,-1,60000); // kart
        AddStaticVehicleEx(571,2287.5615,-2341.6433,12.8306,226.5350,-1,-1,60000); // kart
        AddStaticVehicleEx(571,2299.6785,-2338.3186,12.8307,224.3563,-1,-1,60000); // kart
        AddStaticVehicleEx(571,2295.3887,-2334.9448,12.8307,227.9102,-1,-1,60000); // kart
        fbi1 = AddStaticVehicle(411,984.3919,-1433.8053,13.2740,179.1185,0,0); //FBI INFERNUS
                fbi2 = AddStaticVehicle(411,989.4927,-1434.0238,13.2740,179.5617,0,0); //FBI INFERNUS
                fbi3 = AddStaticVehicle(411,994.8912,-1433.8446,13.2740,181.8445,0,0); //FBI INFERNUS



if(newcar == fbi1 || newcar == fbi2 || newcar == fbi3 )
         {
   if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2){}
   else
   {
   SendClientMessage(playerid, COLOR_GREEN, "Ovo vozilo mogu voziti samo clanovi FBI-a !");
   RemovePlayerFromVehicle(playerid);
}
}


A evo errora:

C:\Documents and Settings\Sejfo\My Documents\Downloads\Zivinice RP server\gamemodes\gf.pwn(3752) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Sejfo\My Documents\Downloads\Zivinice RP server\gamemodes\gf.pwn(3761) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


sve sam pokusao al nemoze, uvijek taj error! Ako neko zna nek mi pomogne :D Radio sam po ovome: http://balkan-samp.com/forum/index.php?topic=8128.0
Hvala unaprijed :D





Na pocetku moda odi i stavi

new newcar = GetPlayerVehicleID(playerid);

i jos

#pragma tabsize 0
Aequam memento rebus in arduis servare mentem.