[Pedido] COMANDO
#9

Code:
dcmd_moto(playerid, params[]) 
{ 
        if(Player[playerid][pAdmin] >= 1) 
    new Float:X, Float:Y, Float:Z, Float:A; //Obs faltou essa linha
    GetPlayerFacingAngle(playerid, A);
    GetPlayerPos(playerid, X, Y, Z); 
    VeiculoVeh[playerid]=1; 
    VeiculoVeh[playerid] = CreateVehicle(522, X, Y, Z, A, -1, -1, 30000); 
    PutPlayerInVehicle(playerid, VeiculoVeh[playerid], 0); 
    SendClientMessage(playerid, -1, "[INFO]: Veнculo criado com sucesso. Para deletar-lo use '/dc' ou '/dcm.'"); 
    return 1; 
}
Reply


Messages In This Thread
COMANDO - by henriqueTL - 17.01.2017, 11:52
Re: COMANDO - by didimk157 - 17.01.2017, 12:23
Re: COMANDO - by Cidiei - 17.01.2017, 12:54
Re: COMANDO - by henriqueTL - 17.01.2017, 12:56
Re: COMANDO - by didimk157 - 17.01.2017, 13:18
Re: COMANDO - by henriqueTL - 17.01.2017, 13:21
Re: COMANDO - by didimk157 - 17.01.2017, 13:37
Re: COMANDO - by henriqueTL - 17.01.2017, 14:17
Re: COMANDO - by TheBob - 17.01.2017, 14:44
Re: COMANDO - by FerrariL - 17.01.2017, 14:44

Forum Jump:


Users browsing this thread: 2 Guest(s)