23.10.2010, 05:00
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:
Try those and repost errors and update the pasted code with the new lines and we'll see.
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
}