keep getting these simple errors :(
#1

i keep getting this

Код:
C:\Users\user\Desktop\Stuff\filterscripts\Bots.pwn(57) : error 017: undefined symbol "DumperCar"
C:\Users\user\Desktop\Stuff\filterscripts\Bots.pwn(62) : error 017: undefined symbol "BusCar"
C:\Users\user\Desktop\Stuff\filterscripts\Bots.pwn(67) : error 017: undefined symbol "FlingTrainCar"
C:\Users\user\Desktop\Stuff\filterscripts\Bots.pwn(72) : error 017: undefined symbol "TrainCar"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
But i have put:

Код:
new DumperCar;
new BusCar;
new FlingTrainCar;
new TrainCar;
Heres the section im getting errors on:

Код:
public OnPlayerSpawn(playerid)
{
  if(IsPlayerNPC(playerid))
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if(!strcmp(npcname, "Dumper", true))
    {
      PutPlayerInVehicle(playerid, DumperCar, 0);
      return 1;
    }
    if(!strcmp(npcname, "Bus", true))
    {
      PutPlayerInVehicle(playerid, BusCar, 0);
      return 1;
    }
    if(!strcmp(npcname, "Fling", true))
    {
      PutPlayerInVehicle(playerid, FlingTrainCar, 0);
      return 1;
    }
    if(!strcmp(npcname, "Train", true))
    {
      PutPlayerInVehicle(playerid, TrainCar, 0);
      return 1;
    }
    return 1;
  }
  return 1;
}
Reply


Messages In This Thread
keep getting these simple errors :( - by [mad]MLK - 19.09.2009, 22:04
Re: keep getting these simple errors :( - by Joe Staff - 19.09.2009, 22:06
Re: keep getting these simple errors :( - by Mikep. - 19.09.2009, 22:13
Re: keep getting these simple errors :( - by [mad]MLK - 19.09.2009, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)