SA-MP Forums Archive
how to - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: how to (/showthread.php?tid=185187)



how to - iJumbo - 23.10.2010

how to get player cord (the cord of mark) in the mini map ? EDIT: here i mean the mini map player mark pos


Re: how to - Badger(new) - 23.10.2010

If you want to get their position,
Код:
GetPlayerPos(playerid,Float:xvalue,Float:yvalue,Float:zvalue);
e.g.
pawn Код:
public OnPlayerDeath(playerid,killerid,reason){
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid,x,y,z);
    return 1;
}



Re: how to - iJumbo - 23.10.2010

lol fail read the question lol


Re: how to - DeathOnaStick - 23.10.2010

The coords of mark = the (other/displayed) player coords. Whats the problem?


Re: how to - Badger(new) - 23.10.2010

Yeah sorry =p. I was thinking that you meant the map icon.


Re: how to - DeathOnaStick - 23.10.2010

Quote:
Originally Posted by Badger(new)
Посмотреть сообщение
Yeah sorry =p. I was thinking that you meant the map icon.
I was thinking that, too. If you want to get better answers, ask your question better than it is at the moment.

#edit#: "Minimap player mark pos" equals the position of the player that is displayed. Really, I don't see any problem in there.