Posts: 98
Threads: 11
Joined: Jan 2008
Reputation:
0
Hello everyone, i would like to ask some help. Well.. when i compile my script(the weird thing is, the first time i compiled it, but now i can't compile it again) my pawno crashes. and i found out, that on "OnPlayerStateChange" Function, when i remove the last } pawno doesn't crash, but of course script doesn't work because i have removed the last } symbol. i use a godfather edit. I didn't change ANYTHING on OnPlayerStateChange function. But i really can't understand why it crashes. Please help me to fix it. Thanks.
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
Posting your OnPlayerStateChange code would help us in order to help you.
Posts: 98
Threads: 11
Joined: Jan 2008
Reputation:
0
Well.. its very big lol.. but anyway, the point is, i didn't change anything on OnPlayerStateChange Function... so i don't think that will help... something else crashed it or sth..
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
Well, something IS changed if the compiler is crashing now. Check your brackets again, and not only the brackets at OnPlayerStateChange, but also the ones around OnPlayerStateChange-callback.