void OnStart()
{
AddEntityCollideCallback("Player", "TeleportScript", "NailThatSucker", true, 1);
AddEntityCollideCallback("Player", "TeleportScript_1", "NailThatSucker_1", true, 1);
}
void NailThatSucker_1(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy_2", true);
AddPropForce("TeleportedNakedGuy_2", -20000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy_2", 0, false);
}
void NailThatSucker(string& asParent, string &in asChild, int alStates)
{
SetEntityActive("TeleportedNakedGuy", true);
AddPropForce("TeleportedNakedGuy", -20000, 0, 0, "world");
PlaySoundAtEntity("", "24_iron_maiden.snt", "TeleportedNakedGuy", 0, false);
}
Just change the name of the entities there are more than 1 of.
TeleportedNakedGuy_1, TeleportedNakedGuy_2, TeleportedNakedGuy_3 etc.
But seriously, i recommend not using this. Even though it's for Pewdiepie or your friends or anything else.. I guess we all (even pewdiepie) would like a change instead of all these naked guys.
Trying is the first step to success.