kazkaS said:
Parazitas said:
kazkaS said:
Parazitas said:
kazkaS said:
Idk why, but still not working
Code:
IF
12@ == 1
THEN
IF
13@ == 0
THEN
22@ = Marker.CreateIconAndSphere(41, -2431.7334,-1619.9863,526.5435)
Chatmsg "{FFFFFF}* Pasiekimas{FF0000} [Alpinistas]{FFFFFF} | nurodytas tavo MiniMap'e." -1
IF
00ED: actor $PLAYER_ACTOR 0 near_point -2431.7334 -1619.9863 526.5435 radius 4.0 4.0 on_foot
THEN
wait 500
Marker.Disable(22@)
END
END
END
Video: https://youtu.be/abSVEUYRQ5U
Send code PM
I don't wanna, because it's private and popular in one server.. sorry
I will try something else, thanks for helping
U don't wanna share this
"Private" code, but this code is so simple
yeah, but why i don't wanna share it, is because of coordination
If u don't wanna share it... maybe i should share your full code? :challenge_accepted:
Anyway , here is two solution for your problem.:
- 1 -
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "Dialog" @Show
WHILE TRUE
WAIT 0
IF
23@ == TRUE
THEN
0AC6: 16@ = label @TEXT offset
0B3B: samp show_dialog id 1000 caption "Servers" text 16@ button_1 "OK" button_2 "CLOSE" style 2
23@ = FALSE
END
IF
0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0
THEN
IF
17@ == 1 // OK button
THEN
IF
18@ == 0
THEN
22@ = Marker.CreateIconAndSphere(41, -2431.7334,-1619.9863,526.5435)
Chatmsg "{FFFFFF}* Pasiekimas{FF0000} [SUPER SIMPLE CODE]{FFFFFF} | nurodytas tavo MiniMap'e." -1
repeat
wait 0
until 00ED: actor $PLAYER_ACTOR 0 near_point -2431.7334 -1619.9863 radius 0.4 0.4 on_foot
IF
00ED: actor $PLAYER_ACTOR 0 near_point -2431.7334 -1619.9863 radius 0.4 0.4 on_foot /// ON FOOT NOT NEED Z{GROUND} POS...
THEN
wait 100
Chatmsg "{FFFFFF}* Pasiekimas{FF0000} [SUPER SIMPLE CODE]{FFFFFF} | You just now reached 'SUPER SIMPLE CODE' point!." -1
Marker.Disable(22@)
END
END
END
END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0
END /// END WHILE TRUE
:TEXT
hex
"{FFFFFF}SUPER SIMPLE CODE 0 " A
00
end
:Show
0B12: 23@ = 23@ XOR TRUE
0B43:
[/shcode]
- 2 -
[shcode=cpp]
{$CLEO .cs}
0000:
REPEAT
WAIT 0
UNTIL 0AFA: SAMP_IS_READY
0B34: "Dialog" @Show
WHILE TRUE
WAIT 0
IF
23@ == TRUE
THEN
0AC6: 16@ = label @TEXT offset
0B3B: samp show_dialog id 1000 caption "Servers" text 16@ button_1 "OK" button_2 "CLOSE" style 2
23@ = FALSE
END
IF
0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0
THEN
IF
17@ == 1 // OK button
THEN
IF
18@ == 0
THEN
22@ = Marker.CreateIconAndSphere(41, -2431.7334,-1619.9863,526.5435)
Chatmsg "{FFFFFF}* Pasiekimas{FF0000} [SUPER SIMPLE CODE]{FFFFFF} | nurodytas tavo MiniMap'e." -1
END
END
END /// END 0B3C: samp is_dialog_responded id 1000 button 17@ list_item 18@ input_text 0
//////// Dissable SUPER SIMPLE CODE
IF
00ED: actor $PLAYER_ACTOR 0 near_point -2431.7334 -1619.9863 radius 0.4 0.4 on_foot /// ON FOOT NOT NEED Z{GROUND} POS...
THEN
wait 100
Marker.Disable(22@)
END
//////// Dissable end
END /// END WHILE TRUE
:TEXT
hex
"{FFFFFF}SUPER SIMPLE CODE 0 " A
00
end
:Show
0B12: 23@ = 23@ XOR TRUE
0B43:
[/shcode]
Listen this and relax little
https://www.youtube.com/watch?v=5r_CtgsCVrs