SA-MP Forums Archive
FS HELP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: FS HELP (/showthread.php?tid=273240)



FS HELP - best_killa - 31.07.2011

is there a FS plugin ect. in these samp forums that allow u too see your x,y,and z position in-game cuz its kinda of a pain in the @ss to do /save all the time??


Re: FS HELP - Haydn - 31.07.2011

There is a hack.. I am not going to say it though. It's bad.


Re: FS HELP - best_killa - 01.08.2011

no i would rather not hack


Re: FS HELP - Haydn - 01.08.2011

It isn't hacking. It just says your X,Y,Z. You don't have to use any of the functions. I'm not saying anything more.


Re: FS HELP - Mean - 01.08.2011

Strcmp & zcmd commands:
pawn Код:
CMD:xyz( playerid, params[ ] ) {
    new
        Float:x
        ,Float:y
        ,Float:z
        ,string[ 30 ]
    ;
    GetPlayerPos( playerid, x, y, z );
    format( string, sizeof string, "%f, %f, %f", x, y, z );
    return SendClientMessage( playerid, -1, string );
}
strcmp:
pawn Код:
if( !strcmp( cmdtext, "/xyz", true ) ) {
    new
        Float:x
        ,Float:y
        ,Float:z
        ,string[ 30 ]
    ;
    GetPlayerPos( playerid, x, y, z );
    format( string, sizeof string, "%f, %f, %f", x, y, z );
    return SendClientMessage( playerid, -1, string );
}
EDIT: I can't believe no one replied sooner!