12-27-2012, 02:07 AM
Hey every Programmer there!
Just want a question trying to solve this problem for a while now but it dosn't work for me :S
my HPS wont work in my map
Any tips of it ??
Just want a question trying to solve this problem for a while now but it dosn't work for me :S
my HPS wont work in my map
Any tips of it ??
Code:
void OnStart()
{
AddEntityCollideCallback("", "scriptarea1", "LookAt", true, 1);
}
void LookAt(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("LookAt", 1, 2, "");
AddTimer("", 3, "Timertrigger1");
}
void Timertrigger1(string &in asTimer)
{
SetMessage("Message", "WhatHappend", 5);
StopPlayerLookAt();
}