wisraul said:
bladero said:
wisraul said:
Bladero said:
i just tested the script and its showing blip on radar. Just paste code and compile script...
I want add Coordinates on samp say smg, after showing blip on radar
How to create it
just use 3 floats in say msg string and assign them to variables 14@ 15@ 16@
Code:
{$CLEO .cs}
0000: NOP
wait 0
:NONAME_2
wait 0
if
0AF9: samp say_msg "%s %s %s" 14@ 15@ 16@
then
018A: 1@ = create_checkpoint_at 14@ 15@ 16@
else
goto @NONAME_2
end
Like it ? edit for me
Not %s , but %f
And you do wrong ...
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: samp register_client_command "cp" to_label @MiniMapCP
WHILE TRUE
WAIT 0
END
:MiniMapCP
0B35: samp 0@ = get_last_command_params
IF
0AD4: $NOT_USED = scan_string 0@ format "%f %f %f" 14@ 15@ 16@
THEN
018A: 1@ = create_checkpoint_at 14@ 15@ 16@
END
0B43:
[/shcode]
Use explane: /cp -118.51 -1216.929 9.48