[SOLVED]Undefined symbols.
#1

Код:
(809) : error 017: undefined symbol "GetVehicleModelIDFromName"
(817) : error 017: undefined symbol "GetXYInFrontOfPlayer"
(821) : error 017: undefined symbol "GetXYInFrontOfPlayer"
I made my Admin FS but i am getting these errors.
My pawno code: (where the errors are)
pawn Код:
dcmd_v(playerid, params[])
{
    new carname[256];

    if(pInfo[playerid][level] < 3) return SendClientMessage(playerid,ADMIN,"Sorry, But you aren't a level 3 Admin :D");
    if(sscanf(params, "z", carname)) return SendClientMessage(playerid, ADMIN, "Type: /v vehicle name");

    new vehicle = GetVehicleModelIDFromName(carname);
    if(vehicle < 400 || vehicle > 611) return SendClientMessage(playerid, ADMIN, "Sorry, But that vehicle name wasn't found");

    new Float:x, Float:y, Float:z, Float:a;
    GetPlayerFacingAngle(playerid, a);
    GetPlayerPos(playerid, x, y, z);
  if(IsPlayerInAnyVehicle(playerid) == 1)
  {
    GetXYInFrontOfPlayer(playerid, x, y, 8);
  }
    else
    {
        GetXYInFrontOfPlayer(playerid, x, y, 5);
    }
  new PlayersVehicle = CreateVehicle(vehicle, x, y, z, a+90, -1, -1, -1);
  new String[265];
  LinkVehicleToInterior(PlayersVehicle, GetPlayerInterior(playerid));
  format(String, sizeof(String), "You succesfully spawned a %s", aVehicleNames[vehicle - 400]);
  SendClientMessage(playerid,COLOR_NOTICE,String);
    return 1;
}
Reply


Messages In This Thread
[SOLVED]Undefined symbols. - by `FuTuRe- - 23.01.2010, 11:53
Re: Undefined symbols. - by Think - 23.01.2010, 12:04
Re: Undefined symbols. - by `FuTuRe- - 23.01.2010, 12:20
Re: Undefined symbols. - by ¤Adas¤ - 23.01.2010, 13:40
Re: [SOLVED]Undefined symbols. - by `FuTuRe- - 23.01.2010, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)