Quick help needed
#1

norx.pwn(4165) : warning 217: loose indentation
norx.pwn(4171) : warning 217: loose indentation

if(strcmp(cmdtext, "/island", true) == 0)
{
SetPlayerPos(playerid,1491.6279,6344.9331,1.5665);
return 1;
}

if(strcmp(cmdtext, "/airbattle", true) == 0)
{
OnlyPlayerTele(playerid, "AirBattle", 290.8786,1920.0966,17.6406, 270.0000, 0);
return 1;
}


What is wrong?
Reply
#2

C:\Users\Joris\Desktop\GTA server\filterscripts\vactions.pwn(254) : warning 225: unreachable code
C:\Users\Joris\Desktop\GTA server\filterscripts\vactions.pwn(322) : error 029: invalid expression, assumed zero
C:\Users\Joris\Desktop\GTA server\filterscripts\vactions.pwn(322) : error 029: invalid expression, assumed zero
C:\Users\Joris\Desktop\GTA server\filterscripts\vactions.pwn(333) : error 030: compound statement not closed at the end of file (started at line 324)


Open the script again and post line 254 , 322, 333 in this topic? because people cant help you now
Reply
#3

So good?
Reply
#4

Help please?
Reply
#5

pawn Код:
if(strcmp(cmdtext, "/island", true) == 0)
{
SetPlayerPos(playerid, 1491.6279, 6344.9331, 1.5665);
return 1;
}

if(strcmp(cmdtext, "/airbattle", true) == 0)
{
OnlyPlayerTele(playerid, "AirBattle", 290.8786, 1920.0966, 17.6406, 270.0000, 0);
return 1;
}
Copy and Paste that.
Reply
#6

That not work. Isn't it the same what I post?
Reply
#7

You have messed it up. I have just cleared it up for you.
Reply
#8

Quote:
Originally Posted by Joris
norx.pwn(4165) : warning 217: loose indentation
norx.pwn(4171) : warning 217: loose indentation

if(strcmp(cmdtext, "/island", true) == 0)
{
SetPlayerPos(playerid,1491.6279,6344.9331,1.5665);
return 1;
}

if(strcmp(cmdtext, "/airbattle", true) == 0)
{
OnlyPlayerTele(playerid, "AirBattle", 290.8786,1920.0966,17.6406, 270.0000, 0);
return 1;
}


What is wrong?
add

pawn Код:
#pragma tabsize 0

it will maek them not show up no more mate
Reply
#9

They should learn to indent rather than setting the tabsize to 0.

Anyway warning 217 ain't such a big deal. Means you got an ugly code :P
Reply
#10

Quote:
Originally Posted by Shady91
Quote:
Originally Posted by Joris
norx.pwn(4165) : warning 217: loose indentation
norx.pwn(4171) : warning 217: loose indentation

if(strcmp(cmdtext, "/island", true) == 0)
{
SetPlayerPos(playerid,1491.6279,6344.9331,1.5665);
return 1;
}

if(strcmp(cmdtext, "/airbattle", true) == 0)
{
OnlyPlayerTele(playerid, "AirBattle", 290.8786,1920.0966,17.6406, 270.0000, 0);
return 1;
}


What is wrong?
add

pawn Код:
#pragma tabsize 0

it will maek them not show up no more mate
Where do I do that? :')

@Cezat, whut? 0.o
Reply


Forum Jump:


Users browsing this thread: