#1

how to save player postion?
not /save
like in script setplayerpos is there an cmd for it?
Reply
#2

Use /save and then go into Documents => GTA San Andreas User Files => SAMP => savedpositions.txt. You'll see a line that looks like this:

Код:
AddPlayerClass(59,1571.5814,-185.581,12.41,359.6363,0,0,0,0,0,0);
The coordinates for the position are:

X: 1571.5815
Y: -185.581
Z: 12.41
Facing Angle: 359.6363

These are parameters 2 to 5.
Reply
#3

You can use GetPlayerPos(playerid,Float:X, Float:Y, Float:Z);
Example:
Код:
command: /getmypos -> new Float:X, Float:Y, Float:Z; -> GetPlayerPos(playerid,X,Y,Z);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)