SF API Documentation

Status
Not open for further replies.

shanker

Well-Known Member
Joined
Sep 18, 2016
Messages
292
Likes
19
Points
48
Location
Romania
#1
I didn't know where to post, so just move it, thanks.
Is there any SF documentation? If not, I need help with the following things:

1) ActorCurrentCar
2) ForAllCars (from stVehiclePool)
3) ForAllPeds (from stActorPool)
4) IsActorStreamed
 

_Safa

Well-Known Member
Section Moderator
Joined
Sep 22, 2019
Messages
257
Likes
89
Points
58
Location
UGBASE
#2
https://blast.hk/wiki/opcodes:sampfuncs:list ?

1. $Vehicle = Actor.CurrentCar($PLAYER_ACTOR0
)
2. Do a loop: FROM $allVehicles = 0 to (maximal vehicle id)

Get all vehicle handles with: 0AFF: samp $allVehicleHandles = car_handle_by_samp_vehicle_id $allVehicles


3. Same as the vehicle loop:

FOR $pLoop = 0 to 999
0B20: samp $pHandle = actor_handle_by_samp_player_id $pLoop
END


4. IF 056D: actor (Handle) defined
 
OP
OP
shanker

shanker

Well-Known Member
Joined
Sep 18, 2016
Messages
292
Likes
19
Points
48
Location
Romania
#3
https://blast.hk/wiki/opcodes:sampfuncs:list ?

1. $Vehicle = Actor.CurrentCar($PLAYER_ACTOR0
)
2. Do a loop: FROM $allVehicles = 0 to (maximal vehicle id)

Get all vehicle handles with: 0AFF: samp $allVehicleHandles = car_handle_by_samp_vehicle_id $allVehicles


3. Same as the vehicle loop:

FOR $pLoop = 0 to 999
0B20: samp $pHandle = actor_handle_by_samp_player_id $pLoop
END


4. IF 056D: actor (Handle) defined
SF (C++) mate, not CLEO
 

_Safa

Well-Known Member
Section Moderator
Joined
Sep 22, 2019
Messages
257
Likes
89
Points
58
Location
UGBASE
#4
What about cresting it in the right section then?

CLEO HELP SF API
 
OP
OP
shanker

shanker

Well-Known Member
Joined
Sep 18, 2016
Messages
292
Likes
19
Points
48
Location
Romania
#5
What about cresting it in the right section then?

CLEO HELP SF API
You dumb shit read again my post

I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks. I didn't know where to post, so just move it, thanks.
 

_Safa

Well-Known Member
Section Moderator
Joined
Sep 22, 2019
Messages
257
Likes
89
Points
58
Location
UGBASE
#6
there is a wonderful section called C++ in this forum.

autistic? yes [X] no [X]
 
Status
Not open for further replies.
Top