28.02.2012, 13:00
Use this:
You can not use 'dini_Int' since it's not an integer thus you'll have to use dini_Get.
Edit: person above has beaten me to it :P
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid)
{
format(file, sizeof(file), "RRP/vehicles/%d.ini", vehicleid);
if(fexist(file))
{
new string[128];
format(string, sizeof(string), "[SERVER]: This is %s vehicle.", dini_Get(file, "Owner"));
SendClientMessage(playerid, COLOR_LIGHTRED, string);
}
}
Edit: person above has beaten me to it :P