[Ajuda] Comando Criar veiculo
#3

Deve funcionar, fiz bem rapidin. Usa como base

pawn Код:
COMMAND:veiculo( playerid, params[] ) {
    new
        IDVeh,
        Pos [ 3 ]
    ;
    if ( sscanf ( params , "i" , IDVeh ) )
        return SendClientMessage ( playerid , -1 , "[ERRO]: /veiculo [id]" );

    GetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] );
    CreateVehicle ( IDVeh , Pos [ 0 ], Pos [ 1 ], Pos [ 2 ], 0, 0, 0, 9999 );
    return 1;
}
Reply


Messages In This Thread
Comando Criar veiculo - by Luucass - 17.12.2013, 23:22
Re: Comando Criar veiculo - by mau.tito - 17.12.2013, 23:27
Re: Comando Criar veiculo - by Gleisson_. - 17.12.2013, 23:28
Re: Comando Criar veiculo - by Luucass - 17.12.2013, 23:38

Forum Jump:


Users browsing this thread: 2 Guest(s)