Really important!!
#1

So i made a system where a player can drop my gun and then it creates it a bit forward from the player and he can pick it up too but he can only pick it up from where he dropped it i want him to go towards the gun and in that position he can pick it up but he can only pick it up when he is at the position where he created the gun

So if i created the object (gun) like this
pawn Код:
CreateObject(GunObjects[GunID], dGunData[f][ObjPos][0], dGunData[f][ObjPos][1] - 0.5 * floatcos(-(ang + 90.0), degrees), dGunData[f][ObjPos][2]-1, 93.7, 120.0, ang + 60.0);
what do i then write on IsPlayerInRangeOfPoint?
Reply


Messages In This Thread
Really important!! - by Rapeassboi - 15.01.2014, 23:20
Re: Really important!! - by Hansrutger - 15.01.2014, 23:37
Re: Really important!! - by Rapeassboi - 15.01.2014, 23:43
Re: Really important!! - by Hansrutger - 16.01.2014, 00:20
Re: Really important!! - by Rapeassboi - 16.01.2014, 14:08
Re: Really important!! - by Danialdano - 16.01.2014, 14:15
Re: Really important!! - by Rapeassboi - 16.01.2014, 14:16
Re: Really important!! - by Rapeassboi - 17.01.2014, 18:38

Forum Jump:


Users browsing this thread: 2 Guest(s)