20.05.2011, 02:55
Код:
C:\Users\Evil\Documents\SAMP\Servezin\gamemodes\lol.pwn(20837) : warning 217: loose indentation C:\Users\Evil\Documents\SAMP\Servezin\gamemodes\lol.pwn(20862) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 10632 bytes Code size: 1972244 bytes
pawn Код:
if(!strcmp(cmdtext,"/escudo",true))
{
if(IsACop(playerid))
{
if(Equipamentos[playerid] == 1)
{
RemovePlayerAttachedObject(playerid,3);
Equipamentos[playerid] = 0;
return 1;
}
if(Equipamentos[playerid] == 0)
{
SetPlayerAttachedObject(playerid,3,18637,13,0.35,0.0,0.0,0.0,0.0,180.0);
SendClientMessage(playerid,COLOR_GREY,"Escudo Ativado !");
Equipamentos[playerid] = 1;
return 1;
}
}
else
{
SendClientMessage(playerid,COLOR_GREY,"Vocк nгo й um Oficial.");
}
return 1;
}