iScream Posted March 17, 2018 Share Posted March 17, 2018 This is the code: {$CLEO} 0662: "iScream" thread "iSream" wait 2500 0B34: samp register_client_command "acc" to_label @cmd_1 0B34: samp register_client_command "dec" to_label @cmd_2 0B34: samp register_client_command "hlc" to_label @cmd_3 0B34: samp register_client_command "hlp" to_label @cmd_4 0B34: samp register_client_command "ej" to_label @cmd_5 0B34: samp register_client_command "parahelp" to_label @cmd_6 :cmd_1 SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d" [email protected] then 0B36: samp [email protected] = get_player_nickname [email protected] 0AF9: samp say_msg "/medic accept %s" [email protected] else print "Scrie /acc <id>" 2000 end SAMP.CmdRet() :cmd_2 SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d" [email protected] then 0B36: samp [email protected] = get_player_nickname [email protected] 0AF9: samp say_msg "/medic cancel %s" [email protected] else print "Scrie /dec <id>" 2000 end SAMP.CmdRet() :cmd_3 SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d" [email protected] then 0B36: samp [email protected] = get_player_nickname [email protected] 0AF9: samp say_msg "/heal %s 1" [email protected] else print "Scrie /hlc <id>" 2000 end SAMP.CmdRet() :cmd_4 SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d" [email protected] then 0B36: samp [email protected] = get_player_nickname [email protected] 0AF9: samp say_msg "/heal %s 1000" [email protected] else print "Scrie /hlp <id>" 2000 end SAMP.CmdRet() :cmd_5 SAMP.IsCommandTyped([email protected]) if 0AD4: [email protected] = scan_string [email protected] format "%d" [email protected] then 0B36: samp [email protected] = get_player_nickname [email protected] 0AF9: samp say_msg "/eject %s" [email protected] else print "Scrie /ej <id>" 2000 end SAMP.CmdRet() :cmd_6 SAMP.IsCommandTyped([email protected]) print "/acc <id> - Accepti o comanda" print "/dec <id> - Anulezi o comanda" print "/hlc <id> - Heal la 1$ pentru colegi" print "/hlp <id> - Heal pe 1000$ la playeri" print "/ej <id> - Dai eject unui player" print "/parahelp - Lista de comenzi" end SAMP.CmdRet() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now