forward SMD_Teleports(identifier[], text[]); forward SMD_Vehicles(identifier[], text[]); forward SMD_Pickups(identifier[], text[]); forward SMD_Objects(identifier[], text[]); stock SMD_Load(filename[]) return INI_ParseFile(filename, "SMD_%s", .bLocal = true); public SMD_Objects(identifier[], text[]) { new Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, Float:view; if (sscanf(text, "fffffff", x, y, z, rx, ry, rz, view)) return; Object_SetViewDistance(CreateDynamicObject(strval(identifier), x, y, z, rx, ry, rz), view); } public SMD_Pickups(identifier[], text[]) { new Float:x, Float:y, Float:z, Float:view; if (sscanf(text, "ffff", x, y, z, view)) return; Pickup_Add(strval(identifier), x, y, z); } public SMD_Vehicles(identifier[], text[]) { new Float:x, Float:y, Float:z, Float:rot, c1, c2, rd; if (sscanf(text, "ffffiii", x, y, z, rot, c1, c2, rd)) return; CreateVehicle(strval(identifier), x, y, z, rot, c1, c2, rd); } public SMD_Teleports(identifier[], text[]) { new Float:x, Float:y, Float:z, Float:rot, interior; if (sscanf(text, "fffri", x, y, z, rot, interior)) return; }