28.02.2012, 12:58
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);
}
}
Name is a string, not integer