16.07.2015, 16:42
Vк se vai resolver
pawn Код:
dcmd_dcmall(playerid, params[])
{
#pragma unused params
if(Player[playerid][pAdmin] >= 1 || Player[playerid][pVIP] >= 1)
{
if(Player[i][VehicleCreatedFree] >= 1)
{
RemoveNeon(i);
Delete3DTextLabel(VehicleLabelFree[Player[i][VehicleCreatedFree]]);
VehicleLabelFree[VehicleCreatedFree] = 0;
DestroyVehicle(Player[i][VehicleCreatedFree]);
Player[i][VehicleCreatedFree] = 0;
SendClientMessage(playerid, COR_PRINCIPAL, "[INFO] Veнculo deletado com sucesso.");
}
else SendClientMessage(playerid, COR_ERRO, "ERRO: Nгo tem nenhum veнculo criado!");
}
else SendClientMessage(playerid, COR_ERRO, "ERRO: Vocк nгo tem permissгo para usar este comando!");
return 1;
}