Instead of this ..
Do something like this ...
This basically means that gravity and jump will only be reset if you collide with something below you.
Hope this helps.
Stevie
If EntityCollided(camera,type_scenery) PGrav = 0.0 jumped = 0 EndIf
Do something like this ...
for c = 1 to countcollisions( camera ) if collisionny( camera , c ) > 0 PGrav = 0 Jumped = 0 endif next
This basically means that gravity and jump will only be reset if you collide with something below you.
Hope this helps.
Stevie