10.07.2013, 16:17
Well, I'm trying to add a map system, and I have ran into one little problem.
This is the current line (Thanks to mick8
:
This works, but this reads from a MTA .map file.
EXAMPLE, It READS this:
It works, but now I want to convert that into SA-MP.
How am I able to make it read from the SA-MP CreateObject?
Any help appreciated - thanks.
This is the current line (Thanks to mick8

Код:
if (!sscanf(string, "p<\">'object''model='d'interior='d'dimension='d'posX='f'posY='f'posZ='f'rotX='f'rotY='f'rotZ='f", modelid, interior, world, x, y, z, rx, ry, rz))
EXAMPLE, It READS this:
Код:
<object id="object (cxref_woodjetty) (3)" doublesided="false" model="3406" interior="0" dimension="0" posX="1762.3000488281" posY="-14.10000038147" posZ="-1.3999999761581" rotX="0" rotY="0" rotZ="0"></object>
How am I able to make it read from the SA-MP CreateObject?
Any help appreciated - thanks.