i have no idea :S
#1

Hi,

i was making a command to Disable /department radio in my server, when i got to the bit where when its disabled it prevents the person from using it i get this error:
Код:
C:\Documents and Settings\Tom Attewell\My Documents\samp_0\gamemodes\sarp.pwn(19162) : warning 217: loose indentation
C:\Documents and Settings\Tom Attewell\My Documents\samp_0\gamemodes\sarp.pwn(19167) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Here are the lines:
Код:
19160:			return 1;
19161:			}
19162:			if((nod) && PlayerInfo[playerid][pAdmin] < 3)
19163:			{
19164:				SendClientMessage(playerid, COLOR_GREY, "   Department channel has been disabled by an Admin !");
19165:				return 1;
19166:			}
19167:		return 1;
19168:	}
I cant see no error in it.....Yet, all help appreciated
Reply
#2

under #include <a_samp>
add this
#pragma tabsize 0
Reply
#3

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
under #include <a_samp>
add this
#pragma tabsize 0
pawn Код:
#pragma tabsize 0
is for noobs who can't indent correctly.
Reply
#4

pawn Код:
#pragma tabsize 0
At the top of the GameMode.

BTW Are warning,u can simply ignore them but if dont want again that warning,use the code that i listed u above.
Reply
#5

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
pawn Код:
#pragma tabsize 0
is for noobs who can't indent correctly.
You think that i can't indent correctly??
Reply
#6

Quote:
Originally Posted by akis_tze
Посмотреть сообщение
You think that i can't indent correctly??
He was talking about the tabsize,not about you.
Reply
#7

Код:
#pragma tabsize 0
that just hides the warning/error
Reply
#8

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
pawn Код:
#pragma tabsize 0
At the top of the GameMode.

BTW Are warning,u can simply ignore them but if dont want again that warning,use the code that i listed u above.
lrn2read? Another person already said that.


Quote:
Originally Posted by akis_tze
Посмотреть сообщение
You think that i can't indent correctly??
No.. I said it's for noobs who use it, but you must be guilty of being a noob, if you just asked if I was talking to you.
Reply
#9

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
No.. I said it's for noobs who use it, but you must be guilty of being a noob, if you just asked if I was talking to you.
Is not everyone perfect like you
Reply
#10

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
lrn2read? Another person already said that.
Umh so?It's a championship?If i can help,i answer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)