More info added! pls read igan!
#1

Hi I have a big problem but its only happends somtimes! The problem is: Server just crash when i enter a weapon shop checkpoint! fomenu = weapon shop menu!
I think the problem is 1.Somting is wrong in "OnPlayerSelectedMenuRow" 2.Somthing wrong in my bad scripted "public OnPlayerEnterStreamedCheckpoint(playerid, streamid)"
If you need more info just post a comment and I will post more!


Here is my script: http://pawn.pastebin.com/m74dd40d

And I use this streamer for the checkpoints:http://forum.sa-mp.com/index.php?topic=69459.0

Pls help me And Sorry for my bad English im from Sweden
Reply
#2

"Bump" More info added read igan pls!
Reply
#3

1. Do return 0; in those empty if statements or just do
pawn Код:
if (currentState != 6 || currentState != 5) /*means if currentState is not 5 or 6*/
2. Use switch, instead of thousand IFs for every cp
3. Indent your code
Reply
#4

....add #include <a_samp> .... before #include <cps>
_________________________________________________
Sorry, I forgot he's put in CPS, but I can't delete this post
Reply
#5

Quote:
Originally Posted by dice7
1. Do return 0; in those empty if statements or just do
pawn Код:
if (currentState != 6 || currentState != 5) /*means if currentState is not 5 or 6*/
2. Use switch, instead of thousand IFs for every cp
3. Indent your code
1. ok but it cant be the real problem?
2. The streams doesn't seam to support this..(I have tried! And its not the problem?)
3. I only say postebin... Im sorry but postebin fucks up my Indentition!



Quote:
Originally Posted by Farse
....add #include <a_samp> .... before #include <cps>
I only say L.O.L-_- This is only a part of my gamemode-_-
Reply
#6

Quote:
Originally Posted by Roban[swe
]
Quote:
Originally Posted by dice7
1. Do return 0; in those empty if statements or just do
pawn Код:
if (currentState != 6 || currentState != 5) /*means if currentState is not 5 or 6*/
2. Use switch, instead of thousand IFs for every cp
3. Indent your code
1. ok but it cant be the real problem?
2. The streams doesn't seam to support this..(I have tried! And its not the problem?)
3. I only say postebin... Im sorry but postebin fucks up my Indentition!



Quote:
Originally Posted by Farse
....add #include <a_samp> .... before #include <cps>
I only say L.O.L-_- This is only a part of my gamemode-_-
*cough* pastebin.com *cough*

errr, what?
Reply
#7

Quote:
Originally Posted by Pandabeer1337
*cough* pastebin.com *cough*

errr, what?
?=?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)