23.08.2010, 02:32
pawn Код:
if(newkeys & KEY_HORN)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,1312.680786,-2695.799804,5.323690) && IsPlayerInRangeOfPoint(playerid, 3.0,1233.24121094,-2751.83105469,1.70205021));
{
MoveObject(portaoadmin, 1281.39843750,-2682.77246094,0.07337849, 2.5);
fecharportao1 = SetTimer("fecharportao", 20000, true);
}
}
return 1;
}