[Pedido] COMANDO
#2

PHP Code:
 new VeiculoVeh[MAX_PLAYERS]; 
PHP Code:
 new Float:X, Float:Y, Float:Z, Float:A; 
PHP Code:
 dcmd_moto(playerid, params[])
{
        if(
Player[playerid][pAdmin] >= 1)
    
GetPlayerPos(playerid, X, Y, Z);
    
VeiculoVeh[playerid]=1;
    
GetPlayerFacingAngle(playerid, A);
    
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;
} 
@edit
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: 1 Guest(s)