10.10.2013, 03:18
I logged into my server, went to LSPD and typed /save, then I went into My Documents/GTA San Andreas User Files/SAMP/savedpositions.txt
AddPlayerClass(2,1554.7684,-1675.5216,16.1953,89.7591,0,0,0,0,0,0); //
1554.7684,-1675.5216,16.1953,89.7591
shows the X, Y, Z, and A of the player. The other thing you can do is this:
I'm going to assume you have zcmd.
AddPlayerClass(2,1554.7684,-1675.5216,16.1953,89.7591,0,0,0,0,0,0); //
1554.7684,-1675.5216,16.1953,89.7591
shows the X, Y, Z, and A of the player. The other thing you can do is this:
I'm going to assume you have zcmd.
pawn Код:
CMD:mypos(playerid, params[])
{
new Float:X, Float:Y, Float:Z, Float:A, string[100];
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, A);
format(string, sizeof(string, "Position: %d, %d, %d, Angle: %d", X, Y, Z, A));
SendClientMessage(playerid, -1, string);
return 1;
}