Cordinates
#5

pawn Код:
if(strcmp(cmd, "/pos", true) == 0)
{
    new Float: X;
    new Float: Y;
    new Float: Z;
    new Float: Angle;
    new Int;
    new World;
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, Angle);
    Int = GetPlayerInterior(playerid);
    World = GetPlayerVirtualWorld(playerid);
    format(string, sizeof(string), "X: %.4f, Y: %.4f, Z: %.4f, Angle: %.4f", X, Y, Z, Angle);
    SendClientMessage(playerid, 0xFFFFFFAA, string);
    format(string, sizeof(string), "Interior: %d, Virtual World: %d",Int, World);
    SendClientMessage(playerid, 0xFFFFFFAA, string);
    return 1;
}
Reply


Messages In This Thread
Cordinates - by olari99 - 12.07.2009, 10:56
Re: Cordinates - by dice7 - 12.07.2009, 11:02
Re: Cordinates - by ledzep - 12.07.2009, 11:03
Re: Cordinates - by MenaceX^ - 12.07.2009, 12:39
Re: Cordinates - by Gergo1352 - 12.07.2009, 12:49
Re: Cordinates - by olari99 - 12.07.2009, 13:18
Re: Cordinates - by MenaceX^ - 12.07.2009, 14:50

Forum Jump:


Users browsing this thread: 1 Guest(s)