26.04.2013, 09:08
pawn Код:
if (strcmp("/armor", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,0.532,2496.2458,-1711.9066,1014.7422))//cjsarmor
{
SetPlayerArmor(playerid,100);//cjsarmor
}
else
SendClientMessage(playerid,white,"You are not in range of the exit!");
return 1;
}
Код:
C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(78) : warning 217: loose indentation C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(133) : warning 217: loose indentation C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(135) : error 010: invalid function or declaration C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(137) : error 010: invalid function or declaration C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(140) : error 054: unmatched closing brace ("}") C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(141) : error 010: invalid function or declaration C:\Users\Austin\Desktop\pawno\gamemodes\test1.pwn(143) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.