13.08.2012, 21:54
pawn Код:
public OnPlayerUpdate(playerid)
{
new obj1;
if(IsPlayerInRangeOfPoint(playerid,2.5 , 1085.4875,-633.2848,113.1970))
{
MoveObject(obj1, 1085.2828, -633.1617, 116.5200, 10,0.0000, 90.0000, 1.1150);
}
else
{
MoveObject(obj1,1083.23, -633.22, 114.36, 10, 0.00, 0.00, 2.22);
}
if(IsPlayerInRangeOfPoint(playerid,42.5 , 1094.8035,-662.0622,113.6484))
{
PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);
}
else
{
PlayerPlaySound(playerid, 1063, 0.0, 0.0, 0.0);
}
}
Espero que tenha ajudado
