[Ajuda] GodCar
#2

pawn Код:
new bool:CarroBlindado[MAXIMO DE CARROS DO SERVIDOR] = false;

if(strcmp(cmdtext,"/Gc", true) == 0 || strcmp(cmdtext,"/godcar", true) == 0)
{
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFF230AFF ,"[ERRO]: Voce nгo esta em um veiculo.");
    CarroBlindado[GetPlayerVehicleID(playerid)] = true;
    SendClientMessage(playerid,0xEDED26FF,"[INFO] Godcar Ativado com Sucesso!");
    GameTextForPlayer(playerid,"~n~ ~n~ ~n~ ~n~ ~n~ ~g~Godcar Ativado!", 3000, 5);
    return 1;
}
 
public OnVehicleDamageStatusUpdate(vehicleid,playerid)
{
    if(CarroBlindado[vehicleid] == true) RepairVehicle(vehicleid);
    return true;
}
Reply


Messages In This Thread
GodCar - by maxblaya01 - 10.09.2015, 05:50
Re: GodCar - by DouglasRodrigues - 10.09.2015, 08:14
Re: GodCar - by NexNix - 10.09.2015, 10:28
Re: GodCar - by maxblaya01 - 10.09.2015, 15:58
Re: GodCar - by iTakelot - 10.09.2015, 16:19
Re: GodCar - by DouglasRodrigues - 10.09.2015, 16:37
Re: GodCar - by Jimmmy - 10.09.2015, 16:50
Re: GodCar - by maxblaya01 - 10.09.2015, 17:16
Re: GodCar - by BobbMarley - 11.09.2015, 02:55

Forum Jump:


Users browsing this thread: 1 Guest(s)