Page 1 of 1

Help With Code!

PostPosted: Sat Apr 21, 2007 1:50 pm
by Caaz Games
I need Help with this code, I want it to load a game on a key down event but only if its on the first frame. here's what i have, but it dosnt work, no error message. it just does not work.
Code: Select all
if(animpos=0)
{
        LoadGame("Lev1.dat")
}

PostPosted: Sat Apr 21, 2007 2:55 pm
by makslane
Use == instead =

PostPosted: Sat Apr 21, 2007 3:10 pm
by Caaz Games
makslane wrote:Use == instead =
Oh Thank You! + Point thingy!