07.05.2011, 12:59
if I've got:
and then
How do I use the position X in the SetSpawnInfo?
SetSpawnInfo(playerid, team, skin, (What do I put here to use the info from the dini file?), Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
Код:
new Float:positionx; new Float:positiony; new Float:positionz;
Код:
dini_IntSet(file, "PositionX", floatround(positionx));
SetSpawnInfo(playerid, team, skin, (What do I put here to use the info from the dini file?), Float:y, Float:z, Float:rotation, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);