Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetEntityPlayerInteractCallback!?!?!?
EXAWOLT Offline
Member

Posts: 113
Threads: 14
Joined: Apr 2012
Reputation: 3
#4
RE: SetEntityPlayerInteractCallback!?!?!?

SetEntityPlayerInteractCallback will be called when "walking" on or touch the item.
SetEntityCallbackFunc("knife", "OnPickup"); = iwill be called when picking up the item.
void OnPickup(string &in asEntity, string &in type)
{
StopMusic(1, 0);
FadeIn(1);
AddTimer("Timer2", 4, "Into2");
GetPlayerSpeed();
SetPlayerJumpDisabled(false);
SetPlayerMoveSpeedMul(0)}

simply nuff said




07-02-2012, 02:53 PM
Find


Messages In This Thread
RE: SetEntityPlayerInteractCallback!?!?!? - by EXAWOLT - 07-02-2012, 02:53 PM



Users browsing this thread: 1 Guest(s)