How do I get X, Y, Z Only?
#1

i only want to get x y z.... what command do i use?
Reply
#2

Look at the syntax:

native CreateDynamicCP(Float, Float:y, Float:z, Floatize, worldid = -1, interiorid = -1, playerid = -1, Floattreamdistance = 100.0);

You're putting:

skin, x, y, z, angle

You need x, y, z.
Reply
#3

Getting x, y and z of what if I may ask?
Reply
#4

Please be more specific.

Showings player's X, Y, Z coordinates?
or something like a save system

Next time don't be rush and be specific.
Reply
#5

Use /rs and it saves in ../GTA San Andreas User Files/SAMP/rawpositions.txt
Reply
#6

pawn Код:
CMD:pos(playerid, params[])
{
        new string1[256];
        new Float:X,Float:Y,Float:Z;
        GetPlayerPos(playerid,X,Y,Z);
        format(string1,sizeof(string1),"Position = X: %.0f , Y: %.0f , Z: %.0f",X,Y,Z);
        SendClientMessage(playerid,COLOR_GREEN,string1);
        return 1;
}
use this
Reply
#7

Use /save ingame, Duh.
The out put will be found in
C:\Users\User\Documents\GTA San Andreas User Files\SAMP\savedpositions
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)