Jump to content

Question

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Salutare! Poti incerca asta insa nu sunt sigur ca va merge! O zi buna! Astept raspuns!

{$CLEO}

0662: "By Axo"
thread "By Axo"
wait 2500 
0B34: samp register_client_command "salut" to_label @cmd_144


0AB1: call_scm_func @chatmsg 0


:cmd_144
SAMP.IsCommandTyped(20@)
if
0AD4: 20@ = scan_string 20@ format "%d" 21@
0AD4: 20@ = scan_string 20@ format "%d" 22@
then
    0B36: samp 1@ = get_player_nickname 21@
    0B36: samp 2@ = get_player_nickname 22@
    0AF9: samp say_msg "Salut, %s!" 1@
    0AF9: samp say_msg "Salut, %s!" 2@

else
    print "~y~/salut <id> <id>" 2000
end
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 "{00E2FF}Basic mod - [/salut] by Axo" -1
0AB2: ret 0 

 

Edited by Джо

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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. For more details you can also review our Terms of Use and Privacy Policy.