Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public NameTimer()
- {
- foreach (Player, i)
- {
- foreach (Player, q)
- {
- new Float:p1x;
- new Float:p1y;
- new Float:p1z;
- new Float:p2x;
- new Float:p2y;
- new Float:p2z;
- if(IsPlayerConnected(i) && IsPlayerConnected(q))
- {
- GetPlayerPos(i,p1x,p1y,p1z);
- GetPlayerPos(q,p2x,p2y,p2z);
- if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
- {
- if(PlayerInfo[q][pMaskuse] != 1)
- {
- ShowPlayerNameTagForPlayer(i,q,1);
- }
- }
- else
- {
- ShowPlayerNameTagForPlayer(i,q,0);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement