31.08.2012, 05:07
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:
Pawn Compiler Says:
Thanks for the help.
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 ![]() pCars[playerid] = GetPlayerVehicleID(playerid); #endif return 1; } |
Quote:
(1333) : error 017: undefined symbol "x" |
Thanks for the help.