Scripting Error
#1

When i tryna' compile my Script it's give me the error..!


It's give me these 4 Error Help me..!
warning 217: loose indentation
warning 217: loose indentation
warning 203: symbol is never used: "connectionHandle"
warning 203: symbol is never used: "unEscapedString"
Reply
#2

pawn Код:
warning 217: loose indentation
warning 217: loose indentation
For those 2 warning you have somewhere like this:

pawn Код:
Blalalallalalalalall
{
    blalbalalalalalala
blblblbllbbllals
        return 1;
}
And it's should be like this

pawn Код:
Blalalallalalalalall
{
    blalbalalalalalala
    blblblbllbbllals
    return 1;
}
And for those:

pawn Код:
warning 203: symbol is never used: "connectionHandle"
warning 203: symbol is never used: "unEscapedString"
Try

pawn Код:
#pragma unused connectionHandle
#pragma unused unEscapedString
bellow defines!

If you still can't fix it! PM your script and I will fix it for you!
Reply
#3

i have same look like that problum any one help please..
Reply
#4

They are warnings nothing to worry about as for the loose indentation warning you can add #pragma tabsize 0 under your includes to hide those warnings and the other warnings that say the variable is unused you can just ignore them or do what RedJohn said above or simply you can delete them.
Reply
#5

hey bro can u tell where inclue in this is a
// g_mysql_ReturnEscaped(string unEscapedString)
// Description: Takes a unescaped string and returns an escaped one.
stock g_mysql_ReturnEscaped(unEscapedString[], connectionHandle) <<<<<< problum in this line
{
new EscapedString[256];
return EscapedString;
}
Reply
#6

Quote:
Originally Posted by manpreet_singh
Посмотреть сообщение
hey bro can u tell where inclue in this is a
// g_mysql_ReturnEscaped(string unEscapedString)
// Description: Takes a unescaped string and returns an escaped one.
stock g_mysql_ReturnEscaped(unEscapedString[], connectionHandle) <<<<<< problum in this line
{
new EscapedString[256];
return EscapedString;
}
that is a stock not an include an include is something like this
pawn Код:
#include <a_samp>
Reply
#7

#include <a_samp>

#undef MAX_PLAYERS
#define MAX_PLAYERS (50)

#include <a_mysql>
#include <streamer>
#include <sscanf2>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <YSI\y_timers>
#include <YSI\y_utils>
#include <ZCMD>

i add Already ..
Reply
#8

I solve this error warning 203:
Reply
#9

Check if you didn't forgot to post any lost ''{'' or ''}''
Reply
#10

Quote:
Originally Posted by Lorenzo!
Посмотреть сообщение
Check if you didn't forgot to post any lost ''{'' or ''}''
its not lost this its lost to much or full line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)