[Ajuda] 2 Comandos
#4

@lucas nem deu
pawn Код:
DonSpeed:carro(playerid,params[])
{
    new carro, IDC, Float:X, Float:Y, Float:Z, Float:FA;
    GetPlayerName(playerid, Name, sizeof(Name));
    if(sscanf(params, "d", carro)) return SendClientMessage(playerid, -1, "Use: {FF230A}/carro [Modelo]");
    if(400 < (carro) > 611) return SendClientMessage(playerid, -1, "O modelo tem que ser entre 400 e 611");
    GetPlayerPos(playerid, X, Y, Z);
    GetPlayerFacingAngle(playerid, FA);
    IDC = CreateVehicle(carro, X, Y, Z+2, FA, 0, 0, 25000);
    PutPlayerInVehicle(playerid, IDC, 0);
    format(don,sizeof(don),"{FF0000}[PlayHard]{FFFFFF}O Player {FF0000}%s{FFFFFF}({FF0000}ID:%d{FFFFFF}) Criou um Carro({FF0000}/carro{FFFFFF}).", Name, playerid);
    SendClientMessageToAll(-1,don);
    return 1;
}
Reply


Messages In This Thread
[Ajuda] 2 Comandos - by Don_Speed - 27.04.2012, 02:17
Re: [Ajuda] 2 Comandos - by Lucas_Alemao - 27.04.2012, 02:21
Re: [Ajuda] 2 Comandos - by zbt - 27.04.2012, 02:23
Re: [Ajuda] 2 Comandos - by Don_Speed - 27.04.2012, 02:39
Re: [Ajuda] 2 Comandos - by zbt - 27.04.2012, 02:41
Re: [Ajuda] 2 Comandos - by ViniBorn - 27.04.2012, 02:43
Re: [Ajuda] 2 Comandos - by Jason` - 27.04.2012, 02:43
Re: [Ajuda] 2 Comandos - by Don_Speed - 27.04.2012, 02:48
Re: [Ajuda] 2 Comandos - by Jason` - 27.04.2012, 02:51
Re: [Ajuda] 2 Comandos - by zbt - 27.04.2012, 02:55

Forum Jump:


Users browsing this thread: 3 Guest(s)