Thread: Public Strings
View Single Post
  #9  
Old 10-28-2002, 02:21 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Quote:
Originally posted by Falcor
nearestplayer(x,y)
No offence. You are a *****. x.x

Quote:
Originally posted by Python523
Hidden Command #1:
getnearestplayer(x,y);
serverside command, gets the index of the closest player to the specified index, the index can then be used like
near=getnearestplayer(x+1,y+2.5);
with(players[near]){
//stuff here;
}
Reply With Quote