Checkpoint Streamer
#1

Guys anyone know or any tutorial of Checkpoint Streamer that is like this
or can anyone tell me how to get the exact Coords of North East and South west, if someone could help me, thanks alot!

pawn Код:
#define CP_EX

#define MAX_POINTS 2

new Float:checkCoords[MAX_POINTS][4]  = {
{}
new Float:checkpoints[MAX_POINTS][4] = {
{}
new checkpointType[MAX_POINTS]  = {
{}
Reply
#2

Use Incognito's streamer (recommended).
Reply
#3

yes Incognito's streamer (easy to make)

my server gamode uses that kind of way so i want to learn that. i already know everything, just the problem is how to get the right coords of the north east and south east.
Reply
#4

Use the "/save" command In-Game and go to:
Код:
C:\Users\*USER*\Documents\GTA San Andreas User Files\SAMP
and there must be a *.txt ( savedpositions.txt ), and get the coords..
Reply
#5

i know that, my question how to know where is north east and south east in game, i know on minimap N - north, how to know North East and South East fast? without any indication?
Reply
#6

You can look at this image and you move the camera.. ( looking at North ) and then move it 90 grades to right and.. thats North-East
Reply
#7

not "move 90", but "turn 45" degrees.

to calculate a players rotation for letting him face to a certain spot, use the atan2() function, supplying the offsets (difference) between the 2 desired locations.
it may occur that you need to add 180° to the final result or exchange the subtraction parameters on both x- and y position for calculatuing the angle...
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)