Object Following Player
#1

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
Reply
#2

I guess you didn't searched: https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Reply
#3

yea i know but how do i get it to follow say a random person? o would that do it?
Reply
#4

could be wrong,

Код:
public randobj() {
new randid = random(MAX_PLAYERS);
if(isplayerconnected(randid)) {
//your code here
return 1;
}
else return randobj();
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)