For those who using Gta Go To AI for walking to checkpoint.
Snippet below will be usefull.
:GetPlayerActorGoToTaskID
// 0AB1: @GetPlayerActorGoToTaskID 0 _Returned: TaskStatus 0@
0A8D: 31@ = read_memory 0xC0B1FC size 2 virtual_protect 0 // Read to Get Task ID
IF NOT 31@ == 65535
THEN 0AB2: ret...
1. Check if RACE CheckPoint Active
2. Get RACE CheckPoint Position
:is_racecp_active
// 0AB1: @is_racecp_active 0
IF 0AA2: 31@ = loadlib "samp.dll"
THEN
0AB1: @get_samp_version_id 0 _returned: ID 17@
IF 17@ > 0
THEN
IF 17@ == 1 // 0.3.7 R1
THEN
0A8E...
1. Check if CheckPoint Active
2. Get CheckPoint Position
:is_cp_active
// 0AB1: @is_cp_active 0
IF 0AA2: 31@ = loadlib "samp.dll"
THEN
0AB1: @get_samp_version_id 0 _returned: ID 17@
IF 17@ > 0
THEN
IF 17@ == 1 // 0.3.7 R1
THEN
0A8E: 30@ = 31@ +...
I wasted my precious time for your request..
This is first and last time when i help you.
Use Code below to obtain vehicle number plate.:
:SAMPGetCurrentVehicleNumberPlate
{
0.3.DL
0AB1: @SAMPGetCurrentVehicleNumberPlate 0 _Returned: NumberPlate 0@
}
IF 0AA2: 31@ = "samp.dll"
THEN...
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.