RATDOG/_module/nss/ra_onplaytarget.nss

17 lines
430 B
Plaintext
Raw Normal View History

//#include "nui_i_main"
#include "inc_perchest"
#include "inc_transform"
void main()
{
// Get the last player to use targeting mode
object oPC = GetLastPlayerToSelectTarget();
object oTarget = GetTargetingModeSelectedObject();
vector vPosition = GetTargetingModeSelectedPosition();
PC_HandleDepositEvent(oPC, oTarget, vPosition);
VT_HandleTargetEvent(oPC, oTarget, vPosition);
//NUI_HandleEvents(oPC);
}