06-06-2014, 02:44 PM
Please Help me!
i want to make a Naked guy JumpscarE (teleport)
but if i do every steps and i open it says Unexpected token blabla line (11,1)
This is my Script:
void onstart ()
{
AddEntityCollideCallback("Player", "Teleport", "jumpscare", true, 1);
}
void jumpscare (string &in asParents, string &in asChild, int alstates);
{
SetEntityActive("jumpscare1", true);
AddPropForce("jumpscare1", -10000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "jumpscare1", 0, false);
}
PLEASE HELP ME!
i want to make a Naked guy JumpscarE (teleport)
but if i do every steps and i open it says Unexpected token blabla line (11,1)
This is my Script:
void onstart ()
{
AddEntityCollideCallback("Player", "Teleport", "jumpscare", true, 1);
}
void jumpscare (string &in asParents, string &in asChild, int alstates);
{
SetEntityActive("jumpscare1", true);
AddPropForce("jumpscare1", -10000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "jumpscare1", 0, false);
}
PLEASE HELP ME!
