23.06.2010, 19:18
Quote:
|
Originally Posted by DJDhan
For your first warning:
Код:
forward NameTimer(); |
on that line is
Код:
public NameTimer() // 43912
{ //43913
for(new i = 0;i < MAX_PLAYERS;i++) //43914
{ //43915
if(IsPlayerConnected(i)) //43916
{ //43916
for(new q = 0;q < MAX_PLAYERS;q++) //43917
{ //43918
if(IsPlayerConnected(q)) ////43919
{ //43920
new Float:p1x; //43921
new Float:p1y; //43922
new Float:p1z; //43923
new Float:p2x; //43924
new Float:p2y; //43925
new Float:p2z; //43926
if(IsPlayerConnected(i) && IsPlayerConnected(q)) //43927
{ ////43928
GetPlayerPos(i,p1x,p1y,p1z); //43929
GetPlayerPos(q,p2x,p2y,p2z); //43930
if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance) //43931
{ //43932
if(PlayerInfo[q][pMaskuse] != 1) //43933
{ //43934
ShowPlayerNameTagForPlayer(i,q,1); //43935
} //43936
} //43937
else //43938
{ //43939
ShowPlayerNameTagForPlayer(i,q,0); //43940
} //43941

