Pomoc: Error

Započeo Sahinjo
19. Jun 2010.
815
pregleda
2
postova
Sahinjo
2
Street Runner
19. Jun 2010.
new Float:PlayerPos;
new Float:TeleportDest;
new Float:TelePos;
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 == 2 || PlayerInfo == 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 😄 Radio sam po ovome: http://balkan-samp.com/forum/index.php?topic=8128.0
Hvala unaprijed 😄
GGC
5
Godfather
20. Jun 2010.
Na pocetku moda odi i stavi

new newcar = GetPlayerVehicleID(playerid);

i jos

#pragma tabsize 0

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha