Question about positions
#1

Hello there,

I have been struggling to get some positions in my server but I still didn't managed to get it.
I'm looking for something that gets me this positions:

Код:
Float:minx, Float:miny, Float:maxx, Float:maxy
I want to use it for CreateDynamicRectangle.

Thanks!
Reply
#2

pawn Код:
GetPlayerPos(playerid, minx, miny manz);
I dont understood you but this is for getting a player pos
Reply
#3

You can use /save for this. It saves your current position in savedpositions.txt which is in C:\Users\WINDOWS_USER\Documents\GTA San Andreas User Files\SAMP.

If making a rectangle, you only need two positions - the top-right corner (maxY and maxX) and the bottom-left corner (minX and minY).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)