[Pedido] comando /cv / criar veiculos
#7

й sу vocк pesquisar Amigo.
https://sampforum.blast.hk/showthread.php?tid=549958&page=2

Quote:
Originally Posted by Whoo
Посмотреть сообщение
PHP код:
COMMAND:criarveiculo playeridparams[] ){ return cmd_cv playeridparams );}
COMMAND:cv playeridparams[] )
{
    if(
IsPlayerAdmin(playerid) )
    {
        new 
s_cmd[68], Float:XFloat:YFloat:ZFloat:AVeiculoModeloc1c2;
        if(
sscanf(params"ddd"Modeloc1c2))
            return 
SendClientMessage(playerid, -1"| AVISO | Use:/cv [Modelo] [cor1] [cor2] ");
        if( 
Modelo 400 || Modelo 611 )
            return  
SendClientMessage(playerid, -1"| AVISO | ID Invбlido use [400 a 611]");
        
GetPlayerPos(playeridXYZ);
        
GetPlayerFacingAngle(playeridA);
        
Veiculo =  AddStaticVehicleEx(ModeloXYZAc1c230);
        
PutPlayerInVehicle(playeridVeiculo0);
        
format(s_cmdsizeof (s_cmd), "| INFO | Administrador(a) Vocк criou o Veiculo %d com Sucesso."Modelo );
        
SendClientMessage(playerid, -1s_cmd);
    }else{
        
SendClientMessage(playerid, -1"| AVISO | Vocк nгo tem Permissгo.");
    }
    return 
1;

PHP код:
public OnPlayerExitVehicle(playeridvehicleid)
{
    
DestroyVehicle(GetPlayerVehicleID(playerid));
    return 
1;

Reply


Messages In This Thread
comando /cv / criar veiculos - by DKDarkking - 28.05.2015, 01:46
Re: comando /cv / criar veiculos - by Ever_SH - 28.05.2015, 01:58
Respuesta: Re: comando /cv / criar veiculos - by DKDarkking - 28.05.2015, 02:00
Re: comando /cv / criar veiculos - by ipsLuan - 28.05.2015, 02:04
Respuesta: Re: comando /cv / criar veiculos - by DKDarkking - 28.05.2015, 02:17
Re: comando /cv / criar veiculos - by zSuYaNw - 28.05.2015, 13:39
Re: comando /cv / criar veiculos - by Whoo - 28.05.2015, 15:08
Respuesta: Re: comando /cv / criar veiculos - by DKDarkking - 28.05.2015, 16:00
Re: comando /cv / criar veiculos - by [BC]Vinny - 28.05.2015, 16:17
Respuesta: Re: comando /cv / criar veiculos - by DKDarkking - 28.05.2015, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)