Need help + rep :D
#1

i got this when i complit the script
C:\Users\User\Desktop\SA-MP Raven RolePlay\Modern Mafia RPG\samp03\gamemodes\Modern.pwn(25175) : warning 217: loose indentation
C:\Users\User\Desktop\SA-MP Raven RolePlay\Modern Mafia RPG\samp03\gamemodes\Modern.pwn(25176) : warning 217: loose indentation

This the lines
{
format(string, 128, "Gun%d", s);
if( strcmp( key , string , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGuns][s] = strval( val );
}

That worked befor i dint know why that happen
Reply
#2

Quote:

if( strcmp( key , string , true ) == 0 )
{
val = ini_GetValue( Data ); PlayerInfo[playerid][pGuns][s] = strval( val );
}

maybe? :P
Reply
#3

Press tab on those lines to make them proper indented.
Reply
#4

You can also add
pawn Код:
#pragma tabsize 0
to prevent such warnings
Reply
#5

Thank you guys !!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)