[Ajuda] Comando /anitro -
KilleRJunioR - 14.04.2012
Bem galera eu procurei e nao achei nada nem um GM nem achei uma base desse cmd na net
esse cmd quando o adm digita /anitro o carro fica com nitro 10x alguem ja vio ele? tem se tiver
posta pra mim obg desde ja
Re: [Ajuda] Comando /anitro -
BreakDriFT - 14.04.2012
https://sampwiki.blast.hk/wiki/AddVehicleComponent
Re: [Ajuda] Comando /anitro -
BreakDriFT - 14.04.2012
pawn Код:
CMD:nitro(playerid)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
SendClientMessage(playerid, 0xFFFFFFAA, "Voce adcionou nitro no car emo -q");
return 1;
}
@EDIT
AFFF primeiro double post da vida pqp !!!!! sorry .
Aproveitei e botei o comando logo .
Re: [Ajuda] Comando /anitro -
Caio_Freeze - 14.04.2012
Vc quer q so adm pode usar?
Re: [Ajuda] Comando /anitro -
@Riichard - 14.04.2012
Aqui para vocк'
pawn Код:
if(strcmp(cmd, "/anitro", true) == 0)
{
if(playerstate == PLAYER_STATE_DRIVER)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1010);
SendClientMessage(playerid, -1, "Nitro 10x,Adaptado!");
}
else
{
return SendClientMessage(playerid, -1, "Ah Mlk. Vc nгo esta em um carro!");
}
Re: [Ajuda] Comando /anitro -
mau.tito - 14.04.2012
pawn Код:
if(strcmp(cmd, "/anitro", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 1)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
SendClientMessage(playerid, -1, "Voce Adicionou Nitro em seu carro!!!");}
return 1;
}
Re: [Ajuda] Comando /anitro -
@Riichard - 14.04.2012
Para administrador & Mensagem avisando.
pawn Код:
if(strcmp(cmd, "/anitro", true) == 0)
{
if(playerstate == PLAYER_STATE_DRIVER)
{
if(PlayerInfo[playerid][pAdmin] > 2)
{
new car = GetPlayerVehicleID(playerid);
AddVehicleComponent(car,1010);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s » Estб adaptando um Nitro no Seu Veiculo!", pname);
SendClientMessageToAll(-1, string);
SendClientMessage(playerid, -1, "Nitro 10x,Adaptado!");
}
else
{
SendClientMessage(playerid, -1, "Ah Mlk. Vc nгo esta em um carro!");
}
}
else
{
SendClientMessage(playerid, -1, "Somente Admin. Comando /Q Para Virar um!");
}
return 1;
}
Re: [Ajuda] Comando /anitro -
KilleRJunioR - 14.04.2012
Olha sу esse cmd o Mau tito envio pra mim e ajeitei o sistema de adm vai funfar?
pawn Код:
if(strcmp(cmd, "/anitro", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 2)
{
SendClientMessage(playerid, COLOR_GRAD1, " Voce nгo esta autorizado a usar este comando!");
return 1;
}
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1345 && PlayerInfo[playerid][pAdmin] != 1341)
{
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
SendClientMessage(playerid, -1, "Voce Adicionou Nitro em seu carro!!!");}
return 1;
}
Re: [Ajuda] Comando /anitro -
KilleRJunioR - 14.04.2012
Ajeitei funfo valeu pessoal muitro obrigado