nearest checkpoint
#1

Plz help me how to get nearest loading point for a mission
For eg.. I have scripted a corrier script it has 3 loading points and 5 unloading points.... all are checkpoints and after finishing a delivery I want to get from th e nearest loading

Can plz help in this issue
Thnx in advance
Reply
#2

bumb
plz help guys
here are the codes Pastebin:
Reply
#3

Something like that

http://pastebin.com/uuHS6BVq

You somehow got two modelids in your code (414 and 455), I guessed it should only be 414
Also changed the command to start to KEY_SUBMISSION
Reply
#4

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
Something like that

http://pastebin.com/uuHS6BVq

You somehow got two modelids in your code (414 and 455), I guessed it should only be 414
Also changed the command to start to KEY_SUBMISSION
it shows undefined symbol "GetPlayerDistanceFromPoint"
plz help
Reply
#5

Update your includes then.

"This function was added in SA-MP 0.3c R3 and will not work in earlier versions!"
You must have a very old a_samp file.
Reply
#6

Quote:
Originally Posted by Jamester
Посмотреть сообщение
Update your includes then.

"This function was added in SA-MP 0.3c R3 and will not work in earlier versions!"
You must have a very old a_samp file.
could u plz give me a link for the new one ?
Reply
#7

Quote:
Originally Posted by bugmenotlol
Посмотреть сообщение
could u plz give me a link for the new one ?
Download the 0.3.7 R2-1 Server package.
Reply
#8

and 1 more thing @ Nero_3d
can u stop constent work ??

P.s Rep to both
Reply
#9

Quote:
Originally Posted by bugmenotlol
Посмотреть сообщение
and 1 more thing @ Nero_3d
can u stop constent work ??

P.s Rep to both
If you exit the vehicle the mission is aborted if you meant that
Reply
#10

Quote:
Originally Posted by Nero_3D
Посмотреть сообщение
If you exit the vehicle the mission is aborted if you meant that
i had made it to command instead of submission
here is the new code ;


after unloading it gives new cp before hitting /work command
i am asking how to remove it

and can u make a /stopwork command instead of getting out of vehicle plz ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)