So can you put thease cords in this script so it works?
The cords
Ohh and the command for this is /unloadtruck
chnage that also
TheScript
The second is for the same script but for command /loadtruck but with diffrent cords
thease cords
Please make 2 seperate cs files for bouth of thease!
I atached the script that i need to edit with that cords!
And make so it says the command evvry 2 secs and with a radiuse of a truck and a bit bigger
The cords
AddStaticVehicle(578,2460.9714,-2118.5549,14.1754,268.0490,202,93); //
chnage that also
TheScript
{$CLEO}
thread 'BoatGM'
wait 5000
0ac8: 15@ = 260
0ad3: 15@ = "/getmats"
: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
thread 'BoatGM'
wait 5000
0ac8: 15@ = 260
0ad3: 15@ = "/getmats"
: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
The second is for the same script but for command /loadtruck but with diffrent cords
thease cords
AddStaticVehicle(578,-504.2870,-84.2322,62.5903,357.8593,202,93); //
I atached the script that i need to edit with that cords!
And make so it says the command evvry 2 secs and with a radiuse of a truck and a bit bigger