- 335
- 119
как сделать так, чтобы значения, которые записывались в ини файл чередовались через запятую?
CLEO:
{$CLEO}
0000:
float 1@
float 2@
alloc 1@ 256
alloc 2@ 256
1@ = 0.0
2@ = 0.0
repeat
wait 0
until samp.Available()
0B34: samp register_client_command "rec" to_label @rec
while true
wait 0
if 0@ == 1
then
if
actor.Driving($PLAYER_ACTOR)
then
actor.StorePos($PLAYER_ACTOR, 1@, 2@, 3@)
00EE: actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ radius 0.5 0.5 in_car
0AF3: write_float 1@ to_ini_file "cleo\rec.ini" section "RECORDING" key "recX"
0AF3: write_float 2@ to_ini_file "cleo\rec.ini" section "RECORDING" key "recY"
end
end
end
:rec
0B12: 0@ = 0@ XOR 1
cmdret