errors
#1

if(strcmp(cmd, "/LSPDBarrier1open", true) == 0) // Command
{
if(IsACop(playerid)) // Checks if the player is in the police
{
SetObjectRot(LSPDBarrier1,0.000000,0.000000,269.81 8847); // Moves the object
}
}
if(strcmp(cmd, "/LSPDBarrier1close", true) == 0)
{
if(IsACop(playerid))
{
SetObjectRot(LSPDBarrier1,0.000000,89.000000,269.8 18847);
}
return 1;
}



C:\Documents and Settings\pc\Desktop\GTA San Andreas\pawno\WC-RP.pwn(8451) : warning 217: loose indentation
C:\Documents and Settings\pc\Desktop\GTA San Andreas\pawno\WC-RP.pwn(8457) : warning 217: loose indentation
C:\Documents and Settings\pc\Desktop\GTA San Andreas\pawno\WC-RP.pwn(8462) : warning 217: loose indentation
C:\Documents and Settings\pc\Desktop\GTA San Andreas\pawno\WC-RP.pwn(28645) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph" (did forward GetPointDistanceToPointExMorph but says another mistake)
Reply
#2

put this at the top of script
pawn Код:
#pragma tabsize 0
#pragma unused GetPointDistanceToPointExMorph
Reply
#3

how to solve the loose indentation?
Reply
#4

Quote:
Originally Posted by johnnie_knoxville
how to solve the loose indentation?
You can always use the auto loose indentation corrector.
Reply
#5

Quote:
Originally Posted by johnnie_knoxville
how to solve the loose indentation?
if u use what i posted , you'll solve the loose indentation
Reply
#6

MoroJR it only hides them but not corrects
Reply
#7

Quote:
Originally Posted by Gamer007
MoroJR it only hides them but not corrects
No Point hiding loose indentation, it might cause problems later on.

Use
http://dracoblue.net/tidy/pawn/
for indentation, but preferably indent ur code urself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)