24.03.2013, 13:59
pawn Код:
CMD:open(playerid, params[])
{
new Float:d[6];
for(new i = 0; i != 6; ++i) {
GetObjectPos(PlayerGates[i],d[0],d[1],d[2]); //line 859
if(IsPlayerInRangeOfPoint(playerid, 5.0, d[0],d[1],d[2]))
{
MoveObject(PlayerGates[i],d[0],d[1],0,5.0,d[3],d[4],d[5]); //line 862
break;
}
}
return 1;
}
pawn Код:
//top of the script
enum pGates
{
gate1,
gate2,
gate3,
gate4,
gate5
}
new PlayerGates[pGates];
pawn Код:
(859) : warning 213: tag mismatch
(862) : warning 213: tag mismatch