nguyenquochuy
Active member
- Joined
- Mar 5, 2015
- Messages
- 38
- Reaction score
- 0
They add IsPlayerInAnyVehicle in cmd /getmats . :imoverit:
How to get mats on the car?
-Sorry my bad english
How to get mats on the car?
-Sorry my bad english
Code:
{$CLEO}
thread 'BoatGM'
wait 5000
0ac8: 15@ = 260
0ad3: 15@ = "/layvatlieu"
:GetMats
wait 0
if and
Player.Defined($PLAYER_CHAR)
Actor.Driving($PLAYER_ACTOR)
then
if or
00EC: actor $PLAYER_ACTOR sphere 0 near_point 598.1029 -1246.2056 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1423.7251 -1320.4540 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point -1713.7140 1348.6115 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point -1495.4771 504.9980 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 594.6078 -1250.5634 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1424.1467 -1319.0349 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point -1816.381 -179.5001 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2390.36 -2008.191 radius 5.0 5.0
then
0AB1: @SAY 1 15@
end
end
wait 2000
JUMP @GetMats
:SAY
IF 0AA2: 1@ = "samp.dll"
THEN
1@ += 0x65C60 // FUNC_SENDCMD for 0.3.7
0AA5: call 1@ num_param 1 pop 0 0@
END
0AB2: 0
![gUWNA4b.png](http://i.imgur.com/gUWNA4b.png)