also so ?
if(strcmp("/mv", cmdtext, true, 10) ==0)
{
if(IsPlayerInRangeOfPoint(playerid,12,322.19921875, -1183.099609375, 71.300003051758))
{
if(tGate == 0)
{
MoveObject(tGate,322.19921875, -1183.099609375, 60.300003051758,3);
tGate = 1;
return 1;
}
else
{
MoveObject(tGate,322.19921875, -1183.099609375, 71.300003051758,3);
tGate = 0;
return 1;
}
}
return 1;
}
dann bekomme ich wieder warining :
C:\Users\Angelo\Desktop\gta sa server\gamemodes\Script.pwn(1061) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
der return 1; ist dan warning