28.02.2013, 12:53
You are using "lights" variable to store the light value
Have you check the link I gave you?
pawn Code:
if(lights)//If light is on
{
//Set light off here
}
else//else light is off
{
//Set light on here
}
Have you check the link I gave you?