26.06.2012, 14:10
pawn Код:
LoadVehicle(filename[256])
{
new ownername[MAX_PLAYER_NAME];
strmid(ownername, dini_Get(filename, "Owner"), 0, sizeof(ownername));
CreateVehicleEx(dini_Int(filename, "Model"), dini_Float(filename, "XSpawn"), dini_Float(filename, "YSpawn"), dini_Float(filename, "ZSpawn"), dini_Float(filename, "AngSpawn"), dini_Int(filename, "Col1"), dini_Int(filename, "Col2"), dini_Int(filename, "Respawn"), ownername);
}