FixInterior
#1

Hello guys, i'm using LSLRP script and making /fixinterior command so when player's interior turn into 3. etc he can do /fixinterior and fix his interior to 0 so i got a problem here.



Код:
   	//--------------- FIX INTERIOR --------------
	 if (strcmp(cmdtext, "/FixInt", true) == 0)
 	 {
	    if(IsPlayerConnected(playerid))
	    {
         if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /FixInt");
				return 1;
			}
		   SetPlayerInterior(playerid, 0);
			}
		return 1;
	}
I get This errors:

Код:
D:\Serveri\LSLRP\LSLRP\gamemodes\lslrp.pwn(18830) : warning 217: loose indentation
D:\Serveri\LSLRP\LSLRP\gamemodes\lslrp.pwn(18839) : warning 217: loose indentation
D:\Serveri\LSLRP\LSLRP\gamemodes\lslrp.pwn(18843) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#2

pawn Код:
if (strcmp(cmdtext, "/FixInt", true) == 0)
{
    SetPlayerInterior(playerid, 0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)