22.12.2011, 19:33
(
Последний раз редактировалось AW4Y; 22.12.2011 в 21:48.
)
pawn Код:
//topo do gm
forward Portao1(playerid);
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_CROUCH && IsPlayerInRangeOfPoint(playerid, 6.0, -1540.3406982422, 482.71173095703, 8.9530792236328))
{
MoveObject(Portao, -1540.3406982422, 482.71173095703, 8.9530792236328, 5.0);
SetTimer("Portao1", 7000, false);
}
return 1;
}
public Portao1(playerid)
{
MoveObject(Portao, -1531.1553955078, 482.18063354492, 8.9530792236328, 5);
return 1;
}

Se funcionar da rep
