{$CLEO .cs}
0000:
wait 8500
while true
wait 0
if 0256: player $PLAYER_CHAR defined
then
for 10@ = 95 to 99
0AC8: 0@ = allocate_memory_size 144
0AB1: @getChatEntryText 1 id 10@ to 0@
0AC8: 1@ = allocate_memory_size 144
0AD3: 1@ = format "/signcheck"...
{$CLEO .cs}
0000:
Wait 8500
0AC8: 4@ = allocate_memory_size 260
0AD3: 4@ = format "My dialog caption"
WHILE TRUE
WAIT 0
IF
0256: player $PLAYER_CHAR defined
THEN
0AB1: @get_samp_version_id 0 _Returned: ID 1@
IF
0AB1: @isDialogOpen 1 SampVersionID 1@
THEN
IF...
{$CLEO .cs}
0000:
repeat
wait 0
until 0AA2: 30@ = "samp.dll"
0AC8: 4@ = allocate_memory_size 260
0AD3: 4@ = format "Sign check"
0AB1: @get_samp_version_id 0 _Returned: ID 1@
WHILE TRUE
WAIT 0
IF
0256: player $PLAYER_CHAR defined
THEN
IF
0AB1: @isDialogOpen 1 SampVersionID 1@...
With this you can create not exist command, server says command which you enter not exist, but code still work.
:GetLastSentTextFromChatBox
{
0.3.7 - R4
0AB1: @GetLastSentTextFromChatBox 0 _Returned: Command 0@ Text 1@
}
if 0AA2: 2@ = "samp.dll"
then
0A8E: 3@ = 2@ +...
1. Install sanny builder
2. Install files from video's
3. Open sanny builder
4. Copy code from thread
5. Paste code to sanny builder
6. Press compile button
7. When windows apear choose file type : all files
8. Name it any title you wanna, like name.cs
9. Confirm to save it.
10. When bugs...
Code return:
Screen resolution with float and int format .
Everything depends which one you need use in your code...
:getScreenResolution
//0AB1: @getScreenResolution 0 ScreenX {Float} 0@ ScreenY {Float} 1@ ScreenX {int} 2@ ScreenY {int} 3@
0A8D: 0@ = read_memory 0xC17044 size 4...
I'm little busy.
0.3.7 R* - 0.3.DL
{$CLEO .cs}
0000:
wait 8500
0AC8: 4@ = allocate_memory_size 260
0AD3: 4@ = format "Character Health" // caption to compare
WHILE TRUE
WAIT 0
IF
0256: player $PLAYER_CHAR defined
THEN
0AB1: @get_samp_version_id 0 _Returned: ID 1@
IF
0AB1...
Chat Rainbow or just for fun
:SetChatInputEditBoxColors
{
0.3.7 - R2
0AB1: @SetChatInputEditBoxColors 3 BorderColor 0xFF00FF00 TextColor 0xFF00FFFF CharacterAtTextEnd { |} color 0xFF00FFFF
}
for 10@ = 0 to 4000 step 1 // Borders haven't static offset , we need scan all...
if 0AA2...
Memories from Gta Sa
Some other stuff i keep for myself xD
{$CLEO .cs}
0000: NOP
wait 8500
{
// Default Coords
0AB1: @Health 3 X 141.0 Y 77.0 SizeX 569.0
0AB1: @Armour 3 X 94.0 Y 48.0
0AB1: @WeaponIcon 3 X 0.1734304577 Y 20.0 SizeY 58.0
0AB1: @Money 2 Y 89.0 SizeX...
Read Nick Names From .txt file
Modified By:
@monday and me
{$CLEO .cs}
0000: NOP
repeat
wait 0
until 0AFA:
// you need update file when you add new one name to the file
0B34: samp register_client_command "reload_names" to_label @cmd_reload_names
0AB1: @load_names 0 _returned_array 0@...
Are you to lazy use search button?
// 0@ 1@ 2@ = XYZ of object
02CE: 3@ = ground_z_at 0@ 1@ 2@
0087: 4@ = 3@ // Copy groundZ for upper boundary.
4@ += 30.0 // In the sky.
IF AND
0025: 2@ > 3@ // not under map
8025: 2@ < 4@ // not in the sky.
THEN
// DO STUFF
END
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.