detect again
#1

how to detect if a player touches a object ?
Reply
#2

* willsuckformoney Durps the topic
Reply
#3

I don't think that you can actually
Reply
#4

sure? not like

pawn Код:
//at top
new shark;

//OnGameModeInIt
shark = CreateObject(blablablablalbbal);

then something onplayerspawn or something to make something happens
Reply
#5

yea u can like that. but the samp objects would be harder to detect LOL
Reply
#6

lol ok ok
Reply
#7

Quote:
Originally Posted by Hoborific
Посмотреть сообщение
Unless the object is moving can't you get the XYZ of object and if player >= 30) then........ (thats my newbie opinion but something would have to trigger the check or a timer of some sort.)
tehe thats what i was gonna do make moving NPC or something but put a shark over it or something xD
Reply
#8

why have an npc and put a shark over it? you could just move the object and use a timer to check if any players are within x units of the object
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)