:getPlayerIdByName
for 1@ = 0 to 1000
if SAMP.IsPlayerConnected(1@)
then
2@ = SAMP.GetPlayerNickname(1@)
if 0C14: strcmp string1 0@ string2 2@
then break
end
end
end
0ab2: 1 1@
I can get hook close dialog
I worked with 0.3.DL and recorded videos, check channel for more video.
I'm active 3pm between 8pm - UK Time zone.
Discord:
Parazitas#0398
Here you find tutorials how to get samp pointers.:
http://ugbase.eu/index.php?threads/tutorial-find-sa-mp-pointers.19980/...
100% working without SAMPFUNCS
:copy_string
{
0AB1: call @copy_string 4 text 0@ start 0 end 9 to_buffer 1@
}
var
1@: int
2@: int
4@: int
5@: int
end
if 1@ < 0
then
059A: return_false
0AB2: ret 0
end
0AB1: @strlen 1 string 0@ rtn 5@
if 2@ > 5@
then
2@ = 5@
end
if...
I stoped use SAMPFUNCS , so i can't test , but should work.
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA: is_samp_available
WHILE TRUE
WAIT 0
IF
0B61: samp is_local_player_spawned
THEN
0AC8: 1@ = allocate_memory_size 260
0AC8: 2@ = allocate_memory_size 260...
From old Request
{$CLEO .cs}
0000: NOP
0662: "Salut all by dawidov."
Thread "Salut all by dawidov. For Nephrite"
wait 10000
0B34: samp register_client_command "salutall" to_label @cmd
chatmsg "{FF3C00}Salut {FF3C00}All {FF3C00}By {FF3C00}dawidov. {FF3C00}for {FF3C00}Nephrite.ro" -1...
{$CLEO}
0000:
REPEAT
WAIT 100
UNTIL 0AFA:
WHILE TRUE
WAIT 0
for 0@ = 0 to 2048
if 0B46: samp 3d_text 0@ defined
then
0C46: samp get_3d_text_info_by_id 0@ string_ptr 1@ color 2@ position 3@ 4@ 5@ view_distance 6@ show_behind_walls 7@ attached_to_player 8@ attached_to_vehicle...
Ugbase Use samp r2 ..., you wasted my time...
Because you said it's R1, i was looking mem from r1 server ..........
http://ugbase.eu/index.php?threads/snippet-samp-textdraw.20436/
Just watch video and do same ...
{$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"...
Use Search next time...
{$CLEO .cs}
0000:
thread "TehArgis"
0B34: samp register_client_command ".e" to_label @CMD
0@ = 0
:MAIN
wait 0
if
0@ == 1
then
if and
not Actor.Driving($PLAYER_ACTOR)
SAMP.IsPlayerConnected(3@)
056D: actor 4@ defined
Actor.Driving(4@)
then...
@Opcode.eXe
Is there any way make it smooth then looks more legit?
{$CLEO .cs}
0000: NOP
wait 10000
while true
wait 0
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model 581 // BF-400
00DD: actor $PLAYER_ACTOR driving_car_with_model 462 // Faggio
00DD: actor $PLAYER_ACTOR...
.
MotorcycleAndBikeSpeedUP v4 - Press continuously UP ARROW if you start drive Motorcycle also press continuously W KEY if you start drive Bike.
Working with gta sa andreas or any samp!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.