More info added! pls read igan! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: More info added! pls read igan! (
/showthread.php?tid=81263)
More info added! pls read igan! -
robanswe - 09.06.2009
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
Re: More info added! pls read igan! -
robanswe - 10.06.2009
"Bump" More info added read igan pls!
Re: More info added! pls read igan! -
dice7 - 10.06.2009
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
Re: More info added! pls read igan! -
farse - 10.06.2009
....add #include <a_samp> .... before #include <cps>
_________________________________________________
Sorry, I forgot he's put in CPS, but I can't delete this post
Re: More info added! pls read igan! -
robanswe - 10.06.2009
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-_-
Re: More info added! pls read igan! -
Think - 10.06.2009
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?
Re: More info added! pls read igan! -
robanswe - 10.06.2009
Quote:
Originally Posted by Pandabeer1337
*cough* pastebin.com *cough*
errr, what?
|
?=?