Fixing Bugs?
#10

Okay bro, There's a simple format in errors:

Take this for example:

C:\Users\ADMIN\Desktop\Gangwars\gamemodes\US.pwn(3 206) : warning 217: loose indentation
LOCATION/LOCATION/LOCATION/LOCATION/LOCATION(LINENUMBER): warning TYPE

You just gotta fix that very line.


For more info on fixing these kinda errors: https://sampforum.blast.hk/showthread.php?tid=274028


And for scripting bugs but NOT pawn compiler bugs:

You scripted it wrong. Double check your code for bugs before posting it on the SAMP forums. Most of the time we just make a minor mistake by putting a wrong code line. You don't need to rewrite the whole command/code just for a little error.

For example:

You're making a dialog using switch

and heres your code:
pawn Код:
switch (dialogid)
    {
        case 1:
        {
             if(response)
             {
                 BLAHBLAHBLAHBLAHBLAHBLAH  
              }
         }
    }
And you open up your dialog but it doesn't respond. The only mistake here would be that PAWNO's numbers start from 0 instead of 1. You change case 1 to case 0 and Voila! It works fine.


Some minor errors, that's it. Just re-check your code, make sure you did everything right, and if still you can't, try to re-write it, and if still not, post it on SAMP forums.
Reply


Messages In This Thread
Fixing Bugs? - by Fadel - 02.06.2012, 17:16
Re: Fixing Bugs? - by TheDominator - 02.06.2012, 17:17
Re: Fixing Bugs? - by Fadel - 02.06.2012, 17:19
Re: Fixing Bugs? - by MadeMan - 02.06.2012, 17:21
Re: Fixing Bugs? - by milanosie - 02.06.2012, 17:23
Re: Fixing Bugs? - by Fadel - 02.06.2012, 17:23
Re: Fixing Bugs? - by Fadel - 02.06.2012, 17:30
Re: Fixing Bugs? - by Sandiel - 02.06.2012, 18:19
Re: Fixing Bugs? - by Edward156 - 02.06.2012, 18:19
Re: Fixing Bugs? - by Gangs_Rocks - 02.06.2012, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)