15.08.2009, 11:29
ive searched round and i cant seem to find anything but basicly i need something that will allow me to add an object and follow the closest player
public randobj() {
new randid = random(MAX_PLAYERS);
if(isplayerconnected(randid)) {
//your code here
return 1;
}
else return randobj();
}