ha.sh
Active member
- Joined
- Nov 14, 2018
- Messages
- 66
- Reaction score
- 0
I want to make cleo for auto /amcall (Accept Mechanic Call).
This is the code. Idk why, it doesn't work at the Game (Nothing happen). Maybe someone can help me, please?
And this is the text for Mechanic Call.
This is the code. Idk why, it doesn't work at the Game (Nothing happen). Maybe someone can help me, please?
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread "AutoAMCall"
0000: NOP
:AutoAMCall_52
wait 0
SAMP.Available
else_jump @AutoAMCall_52
:AutoAMCall_65
wait 0
if and
SAMP.IsLocalPlayerSpawned
Actor.DrivingVehicleType($PLAYER_ACTOR, #TOWTRUCK)
else_jump @AutoAMCall_65
alloc 0@ 260
alloc 1@ 260
SAMP.GetChatString(99, 0@, 1@, 2@, 3@)
if
0C29: $NOT_USED = stristr string1 0@ string2 "[Mechanic Call] {33CCFF}%s {FFFFFF}called a mechanic at {33AA33}%s {FFFFFF}(/infomech %d)" 4@v 5@v 6@
else_jump @AutoAMCall_65
wait 1000
0AD3: 7@ = format "/amcall %d" 6@
say 7@
wait 1000
goto @AutoAMCall_65
And this is the text for Mechanic Call.