[DuV]Comando De Reparar Carro
#9

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if (!strcmp("/repair", cmdtext))
  {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle!");
    RepairVehicle(GetPlayerVehicleID(playerid));
    SendClientMessage(playerid, 0xFFFFFFFF, "Your vehicle has been successfully repaired!");
    return 1;
  }
}
Fonte: https://sampwiki.blast.hk/wiki/RepairVehicle

Nгo te esqueзas de usares os novos includes do pawno para a versгo 0.3.
Reply


Messages In This Thread
[DuV]Comando De Reparar Carro - by faeldk - 13.02.2010, 10:56
Re: [DuV]Comando De Reparar Carro - by RoamPT - 13.02.2010, 11:12
Re: [DuV]Comando De Reparar Carro - by xkinx - 13.02.2010, 15:22
Re: [DuV]Comando De Reparar Carro - by RoamPT - 13.02.2010, 15:25
Re: [DuV]Comando De Reparar Carro - by faeldk - 13.02.2010, 18:06
Re: [DuV]Comando De Reparar Carro - by [NNFc]MinDs - 13.02.2010, 18:12
Re: [DuV]Comando De Reparar Carro - by andmeida10 - 14.02.2010, 08:27
Re: [DuV]Comando De Reparar Carro - by faeldk - 25.02.2010, 12:53
Re: [DuV]Comando De Reparar Carro - by RoamPT - 25.02.2010, 13:41
Re: [DuV]Comando De Reparar Carro - by Comando_DS - 26.02.2010, 14:45

Forum Jump:


Users browsing this thread: 3 Guest(s)