22.03.2015, 19:03
PHP код:
CMD:apagarveiculo(playerid)
{
if(!IsPlayerInAnyVehicle(playerid))
return SendClientMessage(playerid, 0xFF0000FF, "[ERRO]: Vocк nгo estб em um veiculo.");
for(new i; i < MAX_VEHICLES; i++)
{
if(GetPlayerVehicleID(playerid) == varCarSale[i][CSVehId])
{
DeleteSaleCar(i);
break;
}
}
SendClientMessage(playerid, -1, "Carro Apagado");
return 1;
}