Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Float:GetPlayerPosEx(playerid, pos)
- {
- static
- Float:coordenadas[4];
- GetPlayerPos(playerid, coordenadas[0], coordenadas[1], coordenadas[2]);
- GetPlayerFacingAngle(playerid, coordenadas[3]);
- if(pos == 'x') return coordenadas[0];
- if(pos == 'y') return coordenadas[1];
- if(pos == 'z') return coordenadas[2];
- if(pos == 'a') return coordenadas[3];
- return 0xFFFFFFFF;
- }
- // Criado por Bruno da Silva
- // www.ips-team.forumeiros.com
- // www.ips-team.blogspot.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement