I need some clarification..
#1

E:\**********************\***\gamemodes\***.pwn(78 62) : error 017: undefined symbol "vehicleid"
E:\**********************\***\gamemodes\***.pwn(78 63) : error 017: undefined symbol "vehicleid"

Yet these are the lines in question:

pawn Код:
new Float: farostoli_vHealth;
vehicleid = GetPlayerVehicleID(playerid);
GetVehicleHealth(vehicleid, farostoli_vHealth);
if(farostoli_vHealth < 350.0) return SendClientMessage(playerid, COLOR_RED, "The car is far too damaged, and has failed to start.");
else if(farostoli_vHealth < 900.0 && farostoli_vHealth >= 800.0) return VehicleEngineChances(playerid);
return 1;
>vehicleid = GetPlayerVehicleID(playerid);
Any suggestions?
Reply
#2

new vehicleid = GetPlayerVehicleID(playerid); replaces vehicleid = GetPlayerVehicleID(playerid);
Reply
#3

Quote:
Originally Posted by Denying
Посмотреть сообщение
new vehicleid = GetPlayerVehicleID(playerid); replaces vehicleid = GetPlayerVehicleID(playerid);
Much appreciated, I apologize, I'm quite tired, so I'm overlooking a lot today.
Reply
#4

I know the feeling. I've been trying to figure out something yesterday all day long and when I did figure it out I felt like I know nothing about Pawn. xD

Was happy to help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)