09.01.2014, 15:03
pawn Код:
if (strcmp("/gc", cmdtext, true, 10) == 0)
{
GodCar = 1;
SendClientMessage(playerid,0xAAAAAAAA, "[INFO] Voce usou [ /gc ]");
SendClientMessage(playerid,0xAAAAAAAA, "[INFO] Seu veiculo agora esta indestrutivel!@!");
return 1;
}
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
if(GodCar == 1)
{
RepairVehicle(vehicleid);
}
return 1;
}