Small & short questions

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
Can you make Parkour mod with keys active and deactive?
???, ??? ????. Because it's too hard to make one, and there are already lots of parkour cleo mods in google (ex. : matrixjump.cs)
 

Aligator007

Active member
Joined
Feb 25, 2013
Messages
65
Reaction score
0
Can i change packet of sending money? (Someone give me 100 and it gives me 2000 because i changed the packet?)
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
You can't because it's controlled by the server itself. Server gives the amount of money which it calculates before the money gets transfered.
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
This code teleports you to grove street if you type /LS :

Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'TPTER' 
0662: NOP "XZYTRO SAYS HI" 

:REGCMD
wait 0
0B34: samp register_client_command "ls" to_label @TP

:IFCMDTYPED
wait 0
if
SAMP.IsCommandTyped($command)
else_jump @IFCMDTYPED

:TP
00A1: put_actor $PLAYER_ACTOR at 2503.1475 -1678.0405 13.5373
0B43: samp cmd_ret

i get Commande inconnu SAMP.IsCommandTyped($command)
can you help me fix it
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
i need a cleo that when i hit a key it save my current cordination tp me to another then it wait then take me back to my old cordinaion
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
:REGCMD
wait 0
0B34: samp register_client_command "ls" to_label @TP

:IFCMDTYPED
wait 0
jump @IFCMDTYPED

:TP
00A1: put_actor $PLAYER_ACTOR at 2503.1475 -1678.0405 13.5373
0B43: samp cmd_ret

Try this.

And this.

:TP
wait 0
if
0ab0: 49 // 1 = your key here.
jf @TP

:TELE
wait 0
Actor.StorePos($PLAYER_ACTOR, 0@, 1@, 2@)
Actor.PutAt($PLAYER_ACTOR, XXXX, YYYY, ZZZZ)
wait 5000 // 5sec, change it.
Actor.PutAt($PLAYER_ACTOR, 0@, 1@, 2@)
jump @TP
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
hi guys i have problem
i make a cleo that tp you to a place then say some think
it like that so when i hit a key it tp meand say some think but the problem is that when i am at the cordinations it spam chat

----------------------------------------------------
@TEST_10
wait 0
if
0AB0: key_pressed 51
else_jump @TEST_10
wait 300
jump @TEST_20

:Test_20
wait 10
00A1: put_actor $PLAYER_ACTOR at -2623.33 208.819 4.68632
wait 100
0AF9: samp say_msg "hi all"
jump @test_10
--------------------------------------------------------

it work but when i use /lp it oher script that tp me it crash
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
the problem is that when i am at the cordinations it spam chat

@TEST_10
wait 0
if
0AB0: key_pressed 51
else_jump @TEST_10
wait 300
jump @TEST_20

:Test_20
wait 10
00A1: put_actor $PLAYER_ACTOR at -2623.33 208.819 4.68632
wait 100
0AF9: samp say_msg "hi all"
jump @test_10
||
/
wait 100
0AF9: samp say_msg "hi all"
wait 1000
jump @test_10
 

Harlem

Well-known member
Joined
Apr 2, 2013
Messages
237
Reaction score
0
Can i change packet of sending money? (Someone give me 100 and it gives me 2000 because i changed the packet?)

Get a packet sniffer and a fake server to inject the modified packets and it's done, pain in the ass.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
Whats the differend between jf @ and else_jump @

None, look in your sanny builder folder /data/sa for keywords.txt to understand how keywords works in sanny. Basically its the same thing but instead of writing 004D: @ETC, you can use custom words assigned to an opcodes. Like this 0001=shit, so instead of using "wait 0 ms" you can use "shit 0 ms".
 

dqdqf008

Member
Joined
Oct 22, 2013
Messages
21
Reaction score
0
Need help

Anyone have samp funcs 2.3 and how to install it please
 

Edd004

Active member
Joined
Mar 10, 2013
Messages
155
Reaction score
0
[quote author="Monstercat"]Whats the differend between jf @ and else_jump @

None, look in your sanny builder folder /data/sa for keywords.txt to understand how keywords works in sanny. Basically its the same thing but instead of writing 004D: @ETC, you can use custom words assigned to an opcodes. Like this 0001=shit, so instead of using "wait 0 ms" you can use "shit 0 ms".[/quote]

thx dude :D :D:D now i can use "key" for 0AB0: key_pressed 0x73 :lol: :lol::lol:
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
Pro thing, opcode.exe can make it. I can get coordinates of only 1 player for each time you press.

:MAIN
wait 0
if
0ADC: test_cheat "something"
else_jump @MAIN

: DO
wait 0
04C4: store_coords_to $playerposx $playerposy $playerposz from_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0
0AE1: $target = random_actor_near_point $playerposx $playerposy $playerposz in_radius 999999.0 find_next 0 pass_deads 1
if
056D: actor $target defined
else_jump @NOBODY_AROUND
04C4: store_coords_to $targetposx $targetposy $targetposz from_actor $target with_offset 0.0 0.0 0.0
0ACD: show_text_highpriority "YA TOOK HIS COORDINATES" time 1500
wait 1500
0ACD: show_text_highpriority "SCRIPT WORKS" time 1500
wait 1500
jump @MAIN

:NOBODY_AROUND
wait 0
0ACD: show_text_highpriority "YA'R ALL ALONE IN A DAMN DESERT" time 1500
jump @MAIN
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,724
Solutions
2
Reaction score
113
How to get Coordinates in game like if i wanted to get coordinates of the beach
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
:MAIN
wait 0
if
0ADC: test_cheat "GETTARGETPOS"
else_jump @MAIN
jump @GETTARGETPOS

:GETTARGETPOS
wait 0
0AB6: store_target_marker_coords_to 0@ 1@ 2@ // IF and SET
0ACD: show_text_highpriority "DONE" time 1500
jump @MAIN
Put marker on the beach, type GETTARGETPOS while tab list was opened, and you get it's coordinates into 0@ 1@ 2@.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
How to get Coordinates in game like if i wanted to get coordinates of the beach

/save Beach, then go into your GTA SA User Files/SAMP and find savedposition.txt.
 

Monstercat

Well-known member
Joined
Feb 26, 2013
Messages
281
Reaction score
6
NOP ShowTextDraw...

Hey i have a simple REQ is it possible to make NOP ShowTextDraw only in one part of the screen?
 
Top