Player name is not saving properly + vehiclehealth
#10

Somethings:

When you load the cars, to get a string its dini_Get, not dini_Set like you have for CarSystem[vehicleid][cVehicleOwner] when you load items.

Also, I don't know if you did this or not, but you need to change the health to a Float value and the owner to a string in your enum. Like:
pawn Код:
enum Car Info //or whatever
{
     Float:cVehicleHealth;
     cVehicleOwner[MAX_PLAYER_NAME]; // 24 by default I believe, if that's easier
}
Try those and repost errors and update the pasted code with the new lines and we'll see.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)