08-10-2012, 10:39 AM
this is the script:
because it does not work?
Code:
void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "spinta", true, 1);
}
void spinta(string &in asParent, string &in asChild, int alState)
{
PlaySoundAtEntity("", "react_pant.snt", "spinta", 0, false);
AddPlayerBodyForce(2.26, 2.25, 9.5, false);
}
because it does not work?