I Found out why it wasn't work.
My .HPS was named Entance, instead of Entrance... Damn do I feel retarded. haha
I Have another question though.
I Don't use levers alot, and I Have a Bathroom, and I though it'd be cool if you could turn the water on and off.
So I go the lever turning the water on just not off. would you mind helping me get it so when I pull up on the leave the particle system disappears.
////////////////////////////
// Run first time starting map
void OnStart()
{
AddTimer("", 5, "Light");
SetEntityConnectionStateChangeCallback("Button1", "StartWater");
}
void Light(string &in asTimer)
{
SetLampLit("modern_mine_flour_light_shadowH_6", false, false);
}
void StartWater(string &in asEntity, int alState)
{
if (alState == 1)
{
CreateParticleSystemAtEntity("", "ps_water_stream.ps", "WaterPS1", false);
return;
}
}
Thanks
-Grey Fox