server's IP?0.3.DL-R1
{$CLEO .cs}
0000: NOP
wait 8500
00BF: 7@ = current_time_hours, 6@ = current_time_minutes
while true
wait 0
if
0256: player $PLAYER_CHAR defined
then
0AB1: @GetLastSentTextFromChatBox 0 _Return: Command 0@ Text 1@
if 0AD4: $NOT_USED = scan_string 1@ format "/settime %d" 2@
then
if not 2@ > 24
then
0085: 4@ = 2@ // copy to save time which was entered for later
5@ = true // enable and make infinity loop to set time every ms
0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text
end
else
if 0AD4: $NOT_USED = scan_string 1@ format "/settime"
then
0085: 4@ = 7@ // set variable 4@ to default server time which was when you entered to server
0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text
end
end
if 0AD4: $NOT_USED = scan_string 1@ format "/setweather %d" 3@
then
if and
not 3@ < 0
not 3@ > 45
then
0A8C: write_memory 0xC81320 size 4 value 3@ virtual_protect 0
0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text
end
end
end
if 5@ == true
then 00C0: set_current_time_hours_to 4@ minutes_to 0
end
end
:GetLastSentTextFromChatBox
{
0.3.DL
0AB1: @GetLastSentTextFromChatBox 0 _Return: 0@
}
if 0AA2: 2@ = "samp.dll"
then
0A8E: 3@ = 2@ + 0x2ACA14 // CHATBOX_INPUT_POINTER
0A8D: 3@ = readMem 3@ sz 4 vp 0
0A8E: 4@ = 3@ + 0x14E5 // command
0A8E: 5@ = 3@ + 0x1565 // text
end
0AB2: 2 4@ 5@
Reply
Report •••
First Prev18 of 20Next Last
Give me your Discord, I used to play on that server. You can send me all the information about the cleo you want to make instead of creating threads for each function hereHostName: RGVN | San Andreas
Address: rgame.vn:7777
Players: 199 / 500
Ping: 8
Mode: RG:N v4.19.2
Language: fb.com/rgvn2209
ThxExample to make your own command
PHP:{$CLEO .cs} 0000: NOP wait 8500 00BF: 7@ = current_time_hours, 6@ = current_time_minutes while true wait 0 if 0256: player $PLAYER_CHAR defined then 0AB1: @GetLastSentTextFromChatBox 0 _Return: Command 0@ Text 1@ if 0AD4: $NOT_USED = scan_string 1@ format "/settime %d" 2@ then if not 2@ > 24 then 0085: 4@ = 2@ // copy to save time which was entered for later 5@ = true // enable and make infinity loop to set time every ms 0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text end else if 0AD4: $NOT_USED = scan_string 1@ format "/settime" then 0085: 4@ = 7@ // set variable 4@ to default server time which was when you entered to server 0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text end end if 0AD4: $NOT_USED = scan_string 1@ format "/setweather %d" 3@ then if and not 3@ < 0 not 3@ > 45 then 0A8C: write_memory 0xC81320 size 4 value 3@ virtual_protect 0 0A8C: write_memory 1@ size 1 value 0 virtual_protect 0 // clear last entered text end end end if 5@ == true then 00C0: set_current_time_hours_to 4@ minutes_to 0 end end :GetLastSentTextFromChatBox { 0.3.DL 0AB1: @GetLastSentTextFromChatBox 0 _Return: 0@ } if 0AA2: 2@ = "samp.dll" then 0A8E: 3@ = 2@ + 0x2ACA14 // CHATBOX_INPUT_POINTER 0A8D: 3@ = readMem 3@ sz 4 vp 0 0A8E: 4@ = 3@ + 0x14E5 // command 0A8E: 5@ = 3@ + 0x1565 // text end 0AB2: 2 4@ 5@ Reply Report ••• First Prev18 of 20Next Last
sadsazxxzxz#1121Give me your Discord, I used to play on that server. You can send me all the information about the cleo you want to make instead of creating threads for each function here