Jump to content

Problema - Sanny Builder 3


Hi Im Vulpea

Recommended Posts

Model pentru întrebări:

Întrebarea / Nelămurirea / Ajutor: Am facut un TaxiCmd, si imi scrie scrisul cu caps lock, aveti vreo idee?
Screenshot (în caz că este necesar): o sa las codul intr-un spoiler

Alte precizări: -

 

 

 

{$CLEO}

0662: "[CLEO]TaxiCMD by Vulpea"
thread "TaxiCMD Edited Vulpea"
wait 2500
0B34: samp register_client_command "salut" to_label @cmd_43
0B34: samp register_client_command "ra" to_label @cmd_44
0B34: samp register_client_command "pa" to_label @cmd_45
0B34: samp register_client_command "at" to_label @cmd_46
0B34: samp register_client_command "kc" to_label @cmd_47
0B34: samp register_client_command "ec" to_label @cmd_48
chatmsg "{FF8000}Easy Comands for - has loaded" -1
chatmsg "{FF8000}Foloseste /ec pentru a vedea o lista de comenzi" -1

0AB1: call_scm_func @chatmsg 0

:cmd_39
wait 0
jump @cmd_39

SAMP.CmdRet()

//==========================================================

:cmd_43
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Salut! Spuneti locatia, va rog."
SAMP.CmdRet()

//==========================================================

:cmd_44
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Doriti un anumit post de radio anume?"
0AF9: samp say_msg "Daca da, care?"
SAMP.CmdRet()

//==========================================================

:cmd_45
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Multumim ca ai ales serviciile Taxi Los Santos!"
0AF9: samp say_msg "O zi buna!"
SAMP.CmdRet()

//==========================================================

:cmd_46
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/accept taxi %s" 1@

else
print "r/at " 2000
end
SAMP.CmdRet()

//===========================================================

:cmd_47
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

//===========================================================

:cmd_48
SAMP.IsCommandTyped(20@)
chatmsg " {FF0000}{FFCC00}Taxi {FFCC00}CMD {FFCC00}by {FFCC00}Vulpea"
chatmsg "{FF0000}/salut - Salut! Spuneti locatia, va rog.?"
chatmsg "{FF0000}/ra - Doriti sa ascultati un post de radio anume?"
chatmsg "{FF0000}/sal - O zi buna! Multumim ca ai ales serviciile noastre."
chatmsg "{FF0000}/kc - Prescurtare pentru comanda kill checkpoint "
chatmsg "{FF0000}/at - /accept taxi "
SAMP.CmdRet()

//===========================================================

:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{bfff00}[CLEO] TaxiCMD by {0080ff}Vulpea" -1
0AB2: ret 0

Link to comment
Share on other sites

2 minutes ago, Hi Im Vulpea said:

Model pentru întrebări:

Întrebarea / Nelămurirea / Ajutor: Am facut un TaxiCmd, si imi scrie scrisul cu caps lock, aveti vreo idee?
Screenshot (în caz că este necesar): o sa las codul intr-un spoiler

Alte precizări: -

 

  Hide contents

 

{$CLEO}

0662: "[CLEO]TaxiCMD by Vulpea"
thread "TaxiCMD Edited Vulpea"
wait 2500
0B34: samp register_client_command "salut" to_label @cmd_43
0B34: samp register_client_command "ra" to_label @cmd_44
0B34: samp register_client_command "pa" to_label @cmd_45
0B34: samp register_client_command "at" to_label @cmd_46
0B34: samp register_client_command "kc" to_label @cmd_47
0B34: samp register_client_command "ec" to_label @cmd_48
chatmsg "{FF8000}Easy Comands for ruby.nephrite.ro has loaded" -1
chatmsg "{FF8000}Foloseste /ec pentru a vedea o lista de comenzi" -1

0AB1: call_scm_func @chatmsg 0

:cmd_39
wait 0
jump @cmd_39

SAMP.CmdRet()

//==========================================================

:cmd_43
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Salut! Spuneti locatia, va rog."
SAMP.CmdRet()

//==========================================================

:cmd_44
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Doriti un anumit post de radio anume?"
0AF9: samp say_msg "Daca da, care?"
SAMP.CmdRet()

//==========================================================

:cmd_45
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Multumim ca ai ales serviciile Taxi Los Santos!"
0AF9: samp say_msg "O zi buna!"
SAMP.CmdRet()

//==========================================================

:cmd_46
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/accept taxi %s" 1@

else
print "r/at " 2000
end
SAMP.CmdRet()

//===========================================================

:cmd_47
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

//===========================================================

:cmd_48
SAMP.IsCommandTyped(20@)
chatmsg " {FF0000}{FFCC00}Taxi {FFCC00}CMD {FFCC00}by {FFCC00}Vulpea"
chatmsg "{FF0000}/salut - Salut! Spuneti locatia, va rog.?"
chatmsg "{FF0000}/ra - Doriti sa ascultati un post de radio anume?"
chatmsg "{FF0000}/sal - O zi buna! Multumim ca ai ales serviciile noastre."
chatmsg "{FF0000}/kc - Prescurtare pentru comanda kill checkpoint "
chatmsg "{FF0000}/at - /accept taxi "
SAMP.CmdRet()

//===========================================================

:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{bfff00}[CLEO] TaxiCMD by {0080ff}Vulpea" -1
0AB2: ret 0

 Apesi F10 in sanny builder si dai la 'Formats' apoi bifezi 'As is'.

Link to comment
Share on other sites

6 hours ago, Hi Im Vulpea said:

Model pentru întrebări:

Întrebarea / Nelămurirea / Ajutor: Am facut un TaxiCmd, si imi scrie scrisul cu caps lock, aveti vreo idee?
Screenshot (în caz că este necesar): o sa las codul intr-un spoiler

Alte precizări: -

 

  Reveal hidden contents

 

{$CLEO}

0662: "[CLEO]TaxiCMD by Vulpea"
thread "TaxiCMD Edited Vulpea"
wait 2500
0B34: samp register_client_command "salut" to_label @cmd_43
0B34: samp register_client_command "ra" to_label @cmd_44
0B34: samp register_client_command "pa" to_label @cmd_45
0B34: samp register_client_command "at" to_label @cmd_46
0B34: samp register_client_command "kc" to_label @cmd_47
0B34: samp register_client_command "ec" to_label @cmd_48
chatmsg "{FF8000}Easy Comands for - has loaded" -1
chatmsg "{FF8000}Foloseste /ec pentru a vedea o lista de comenzi" -1

0AB1: call_scm_func @chatmsg 0

:cmd_39
wait 0
jump @cmd_39

SAMP.CmdRet()

//==========================================================

:cmd_43
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Salut! Spuneti locatia, va rog."
SAMP.CmdRet()

//==========================================================

:cmd_44
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Doriti un anumit post de radio anume?"
0AF9: samp say_msg "Daca da, care?"
SAMP.CmdRet()

//==========================================================

:cmd_45
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "Multumim ca ai ales serviciile Taxi Los Santos!"
0AF9: samp say_msg "O zi buna!"
SAMP.CmdRet()

//==========================================================

:cmd_46
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
then
0B36: samp 1@ = get_player_nickname 21@
0AF9: samp say_msg "/accept taxi %s" 1@

else
print "r/at " 2000
end
SAMP.CmdRet()

//===========================================================

:cmd_47
SAMP.IsCommandTyped(20@)
0AF9: samp say_msg "/killcp"
SAMP.CmdRet()

//===========================================================

:cmd_48
SAMP.IsCommandTyped(20@)
chatmsg " {FF0000}{FFCC00}Taxi {FFCC00}CMD {FFCC00}by {FFCC00}Vulpea"
chatmsg "{FF0000}/salut - Salut! Spuneti locatia, va rog.?"
chatmsg "{FF0000}/ra - Doriti sa ascultati un post de radio anume?"
chatmsg "{FF0000}/sal - O zi buna! Multumim ca ai ales serviciile noastre."
chatmsg "{FF0000}/kc - Prescurtare pentru comanda kill checkpoint "
chatmsg "{FF0000}/at - /accept taxi "
SAMP.CmdRet()

//===========================================================

:chatmsg
0AA2: 0@ = load_library "samp.dll" // IF and SET
0085: 1@ = 0@ // (int)
1@ += 2203876
0A8D: 3@ = read_memory 1@ size 4 virtual_protect 1
0085: 2@ = 0@ // (int)
2@ += 409616
chatmsg "{bfff00}[CLEO] TaxiCMD by {0080ff}Vulpea" -1
0AB2: ret 0

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.