22.04.2012, 14:08
pawn Код:
new Float: Pos [ 3 ] ;
new Balao ;
CMD :partida ( playerid )
{
GetPlayerPos ( playerid , Pos [ 0 ] , Pos [ 1 ] , Pos [ 2 ] ) ;
Balao = CreateObject ( 19337 , Pos [ 0 ] , Pos [ 1 ] , Pos [ 2 ] , 0 , 0 , 0 ) ;
SetPlayerPos ( playerid , Pos [ 0 ] , Pos [ 1 ] , Pos [ 2 ] +2 ) ;
SetTimerEx ( "VoandoLS" , 45000 , false , "i" , playerid ) ;
return 1 ;
}
forward VoandoLS ( playerid ) ;
public VoandoLS ( playerid )
{
SendClientMessage ( playerid , -1 , "Seu Voo iniciou." ) ;
MoveObject ( Balao , Pos [ 0 ] , Pos [ 1 ] , 93.4733 , 4.00 ) ;
return 1 ;
}