Problem with pCars
#1

Hello Everyone,


I'd have one little problem with pCars, i guess it's easy to fix but i don't know the way how to fix it.
Anyways here's the problem:

Quote:

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
#if EnableVehicleMsg == true
new string[150];
new modelid = GetVehicleModel(vehicleid);
new car = modelid-400;
format(string, sizeof(string), "~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ ~r~%s ~<~", VehicleNames[car]);
GameTextForPlayer(playerid,string,3000,3);
if (pCars[playerid] > 1 ) DestroyVehicle(pCars[playerid]);
PutPlayerInVehicle(playerid, CreateVehicle(modelid, Float, Float:y, Float:z, Float:angle, color1, color2, respawn_delay), 0);
pCars[playerid] = GetPlayerVehicleID(playerid);
#endif
return 1;
}

Pawn Compiler Says:
Quote:

(1333) : error 017: undefined symbol "x"


Thanks for the help.
Reply


Messages In This Thread
Problem with pCars - by UnlimitedFreeroam - 31.08.2012, 05:07
Re: Problem with pCars - by romas3110 - 31.08.2012, 05:12
Re: Problem with pCars - by UnlimitedFreeroam - 31.08.2012, 05:16
Re: Problem with pCars - by Deal-or-die - 31.08.2012, 05:18
Re: Problem with pCars - by Vule. - 31.08.2012, 05:21
Re: Problem with pCars - by UnlimitedFreeroam - 31.08.2012, 05:22
Re: Problem with pCars - by romas3110 - 31.08.2012, 05:27
Re: Problem with pCars - by UnlimitedFreeroam - 31.08.2012, 05:33
Re: Problem with pCars - by Deal-or-die - 31.08.2012, 06:50
Re: Problem with pCars - by Vule. - 31.08.2012, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)