[Ajuda] Sistema de stand automбtico
#2

pawn Код:
CMD:comprarcarro(playerid,params[])
{
    new ID;
   
    if(sscanf(params,"d",ID))
    {
        SendClientMessage(playerid,0xBFBFBFAA,"Use /comprarcarro ID.");
        return 1;
    }
    else if(ID < 400 && ID > 611)
    {
        SendClientMessage(playerid,0xBFBFBFAA,"Carros de 400 a 611.");
        return 1;
    }
    else
    {
        new Float:Pos[4];
       
        GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
        GetPlayerFacingAngle(playerid,Pos[3]);
        CreateVehicle(ID,Pos[0],Pos[1],Pos[2],Pos[3],-1,-1,60000*10);

        GameTextForPlayer(playerid,"~r~Carro Criado!",2000,3);
    }
    return 1;
}
Reply


Messages In This Thread
Sistema de stand automбtico - by FuZzYey - 11.05.2013, 01:48
Re: Sistema de stand automбtico - by BielCOP - 11.05.2013, 12:45
Re: Sistema de stand automбtico - by FuZzYey - 11.05.2013, 13:04
Re: Sistema de stand automбtico - by BielCOP - 11.05.2013, 13:09
Re: Sistema de stand automбtico - by FuZzYey - 11.05.2013, 13:10
Re: Sistema de stand automбtico - by BielCOP - 11.05.2013, 13:11
Re: Sistema de stand automбtico - by FuZzYey - 11.05.2013, 13:13
Re: Sistema de stand automбtico - by BielCOP - 11.05.2013, 13:15
Re: Sistema de stand automбtico - by FuZzYey - 11.05.2013, 13:15
Re: Sistema de stand automбtico - by FuZzYey - 11.05.2013, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)