24.02.2009, 22:42
Код:
if(strcmp(cmd,"/tuning",true) == 0) { if(AccountInfo[playerid][AdminLevel] >= 1) { if(IsPlayerInAnyVehicle(playerid)) { new carro; carro = GetPlayerVehicleID(playerid); if(carro == 562 || carro == 565 || carro == 559 || carro == 561) if(IsPlayerInAnyVehicle(playerid)) { ChangeVehicleColor(carro, 6,6); AddVehicleComponent(carro, 1010); AddVehicleComponent(carro, 1087); } else { SendClientMessage(playerid,Erro,"[ERROR] This car not tuning"); } } else { SendClientMessage(playerid,Erro,"Need a car"); } } else { SendClientMessage(playerid,Erro,"You do not have permission to use this command"); } return 1; }